modified: genpxml.sh
authorvimacs <vimacs@pndtest>
Sat, 14 Nov 2009 23:10:33 +0000 (00:10 +0100)
committervimacs <vimacs@pndtest>
Sat, 14 Nov 2009 23:10:33 +0000 (00:10 +0100)
testdata/scripts/genpxml.sh

index 8a2af03..ade9c7f 100755 (executable)
@@ -3,7 +3,7 @@ if [ $1 ]; then cd $1; fi
  
 for x in $(pwd)/*
 do
-if [ -x $x ] && [ ! -d $x ]; then exe=$x; break; fi
+if [ -x $x ] && [ ! -d $x ] && [ ! $(echo $x | cut -d . -f 2 -s) ] ; then exe=$x; break; fi
 done
 BASENAMEnoex=$(basename "$exe" | cut -d'.' -f1)
 BASENAME=$(basename "$exe")