]> git.sur5r.net Git - openocd/commitdiff
build: check guess-rev.sh can be found/executed
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 16 Aug 2011 11:06:57 +0000 (12:06 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 16 Aug 2011 11:06:57 +0000 (12:06 +0100)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
configure.ac

index 3c0056ccc49acb62468d1ca13946097cb1dfc2be..1bbc97696e0632727d5470ed88d30ec8ce90dd5b 100644 (file)
@@ -145,7 +145,7 @@ is_darwin=no
 
 # guess-rev.sh only exists in the repository, not in the released archives
 AC_MSG_CHECKING([whether to build a release])
-if test -f $srcdir/guess-rev.sh ; then
+if test -x $srcdir/guess-rev.sh ; then
   build_release=no
 else
   build_release=yes