User: vins
Date: 05/12/03 04:50:48
Branch: xemacs/lib-src release-21-4
Modified: xemacs/lib-src ChangeLog installexe.sh
Log:
Don't install xemacs-<ver>.exe to xemacs-<ver>.exe.exe under Cygwin.
Revision Changes Path
1.115.2.32 +5 -0 XEmacs/xemacs/lib-src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/ChangeLog,v
retrieving revision 1.115.2.31
retrieving revision 1.115.2.32
diff -u -p -r1.115.2.31 -r1.115.2.32
--- ChangeLog 2005/02/06 19:23:36 1.115.2.31
+++ ChangeLog 2005/12/03 03:50:47 1.115.2.32
@@ -1,3 +1,8 @@
+2005-09-18 Mike Alexander <mta(a)arbortext.com>
+
+ * installexe.sh: Don't add an exe extention to a file that already
+ has one. Patch from Rick Rankin.
+
2005-02-06 Vin Shelton <acs(a)xemacs.org>
* XEmacs 21.4.17 is released
1.4.2.1 +8 -3 XEmacs/xemacs/lib-src/installexe.sh
Index: installexe.sh
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/installexe.sh,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -p -r1.4 -r1.4.2.1
--- installexe.sh 2001/04/12 18:21:02 1.4
+++ installexe.sh 2005/12/03 03:50:47 1.4.2.1
@@ -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 "
Show replies by date