projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(UU+66FC): Add representative nodes.
[chise/xemacs-chise.git-]
/
lib-src
/
installexe.sh
diff --git
a/lib-src/installexe.sh
b/lib-src/installexe.sh
index
d971b09
..
1698125
100644
(file)
--- a/
lib-src/installexe.sh
+++ b/
lib-src/installexe.sh
@@
-5,11
+5,16
@@
shift
tstr=""
-while [ $# -gt 0 ]
+while [[ $# -gt 0 ]]
do
- if [ -f $1.exe ]
+ if [[ -f $1.exe ]]
then
- tstr="$tstr$1.exe $2.exe"
+ if [[ "$2" == *.exe ]]
+ then
+ tstr="$tstr$1 $2"
+ else
+ tstr="$tstr$1.exe $2.exe"
+ fi
shift 2
else
tstr="$tstr$1 "