r15291: $f already has the $srcdir prefixed
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Apr 2006 09:32:26 +0000 (09:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:03 +0000 (14:05 -0500)
metze

source/script/build_idl.sh

index 1b38245e17cc2697b412d1637dd40a95b8f767fb..63e6ae73b7712769cf477074c6ef4717167d7c7d 100755 (executable)
@@ -21,7 +21,7 @@ for f in $srcdir/librpc/idl/*.idl ; do
     ndr="librpc/gen_ndr/ndr_$basename.c"
     # blergh - most shells don't have the -nt function
     if [ -f $ndr ]; then
-       if [ x$srcdir/`find $f -newer $ndr -print` = x$f ]; then
+       if [ x`find $f -newer $ndr -print` = x$f ]; then
            list="$list $f"
        fi
     else