[Apt-zip-devel] r45 - trunk

Eddy Petrisor eddyp-guest at costa.debian.org
Thu Jun 1 22:24:23 UTC 2006


Author: eddyp-guest
Date: 2006-06-01 22:24:22 +0000 (Thu, 01 Jun 2006)
New Revision: 45

Modified:
   trunk/common.sh.in
Log:
bugs: fix the test of existance of the command for sleep - output of type was not qouted

Modified: trunk/common.sh.in
===================================================================
--- trunk/common.sh.in	2006-05-30 22:40:11 UTC (rev 44)
+++ trunk/common.sh.in	2006-06-01 22:24:22 UTC (rev 45)
@@ -177,13 +177,13 @@
         ;;
     --use-sleep=*)
         SLEEPTIME="${1#--use-sleep=}"
-        SLEEPEVALCMD='echo "[ ! -z "\`type sleep\`" ] && sleep ${SLEEPTIME}"'
+        SLEEPEVALCMD='echo "[ ! -z \"\`type sleep\`\" ] && sleep ${SLEEPTIME}"'
         shift
         ;;
     --use-sleep|-S)
         if [ $# -lt 2 ]; then syntax_error "$1 needs an argument"; fi
         SLEEPTIME=$2
-        SLEEPEVALCMD='echo "[ ! -z "\`type sleep\`" ] && sleep ${SLEEPTIME}"'
+        SLEEPEVALCMD='echo "[ ! -z \"\`type sleep\`\" ] && sleep ${SLEEPTIME}"'
         shift
         shift
         ;;




More information about the apt-zip-devel mailing list