git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa0f59
)
modified: genpxml.sh
author
vimacs
<vimacs@pndtest>
Sat, 14 Nov 2009 23:10:33 +0000
(
00:10
+0100)
committer
vimacs
<vimacs@pndtest>
Sat, 14 Nov 2009 23:10:33 +0000
(
00:10
+0100)
testdata/scripts/genpxml.sh
patch
|
blob
|
history
diff --git
a/testdata/scripts/genpxml.sh
b/testdata/scripts/genpxml.sh
index
8a2af03
..
ade9c7f
100755
(executable)
--- 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")