[patch][samba4] script/cflags.sh for OpenVMS.
John E. Malmberg
wb8tyw at qsl.net
Thu Oct 27 22:01:42 GMT 2005
This patch adds a check for "/" as an exit status.
dirname "/" will return "/" which with out this patch leaves cflags.sh
in an infinite loop.
UNIX pathnames generated by Perl on platforms other than UNIX may end up
being absolute pathnames instead of relative pathnames.
-John
wb8tyw at qsl.net
Personal Opinion Only
-------------- next part --------------
--- /src_root/samba4/source/script/cflags.sh Thu Oct 27 03:28:20 2005
+++ script/cflags.sh Thu Oct 27 10:25:24 2005
@@ -21,7 +21,7 @@
NAME=$TARGET
-while [ "$NAME" != "." ]; do
+while [ "$NAME" != "." ] && [ "$NAME" != "/" ]; do
check_flags "$NAME"
NAME=`dirname $NAME`
done
More information about the samba-technical
mailing list