summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/makefile.pm2
-rwxr-xr-xsource4/script/cflags.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 6f9615baa8..1759f8645d 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -191,7 +191,7 @@ sub _prepare_manpages($)
my @mp_list = ();
foreach (values %$ctx) {
- push (@mp_list, $_->{MANPAGE}) if (defined($_->{MANPAGE}) and $_->{MANPAGE} ne "");
+ push (@mp_list, "$_->{BASEDIR}/$_->{MANPAGE}") if (defined($_->{MANPAGE}) and $_->{MANPAGE} ne "");
}
my $mp = array2oneperline(\@mp_list);
diff --git a/source4/script/cflags.sh b/source4/script/cflags.sh
index b2ee8b3761..dc7bd794c6 100755
--- a/source4/script/cflags.sh
+++ b/source4/script/cflags.sh
@@ -11,7 +11,7 @@ check_flags()
NAME=$1
(
while read tag flags; do
- if [ "$tag" = "$NAME" ]; then
+ if [ "$tag" = "$NAME" ] || [ "./$tag" = "$NAME" ]; then
echo "$flags"
exit 0;
fi