From 11b9ed4f438d43c86eb66737a3da7fc99a3eadb6 Mon Sep 17 00:00:00 2001 From: vimacs Date: Sun, 15 Nov 2009 00:10:33 +0100 Subject: [PATCH] modified: genpxml.sh --- testdata/scripts/genpxml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/scripts/genpxml.sh b/testdata/scripts/genpxml.sh index 8a2af03..ade9c7f 100755 --- a/testdata/scripts/genpxml.sh +++ b/testdata/scripts/genpxml.sh @@ -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") -- 2.39.2