On Fri, Jun 08, 2001 at 03:36:37AM +0200, Stipe Tolj wrote:
-#  Add a possible extension (such as ".exe") to src and dst
+#  Check if we need to add an executable extension (such as ".exe") 
+#  on specific OS to src and dst
+if [ -f "$src.exe" ]; then
+  ext=".exe"
+fi

Can we change that to:
 if [ ! -f "$src" ] && [ -f "$src.exe" ]; then
or
 if [ ! -f "$src" -a -f "$src.exe" ]; then
? Just to be sure....

   Martin
-- 
<[EMAIL PROTECTED]>    |       Fujitsu Siemens
       <[EMAIL PROTECTED]>              |   81730  Munich,  Germany

Reply via email to