print the whole command
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 2 Jul 2010 16:27:14 +0000 (18:27 +0200)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 2 Jul 2010 16:27:14 +0000 (18:27 +0200)
scripts/git-mirror.sh

index f60bd42..451c3a4 100755 (executable)
@@ -8,12 +8,12 @@ QUIET=0
 function msg () {
     if [ $QUIET -eq 0 ]
     then
-        echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $1"
+        echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $@"
     fi
 }
 
 function error () {
-    echo "[ERROR] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $1"
+    echo "[ERROR] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $@"
 }
 
 function run () {