fix action calls. first argument is the message and rest shall be the command
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Mon, 31 May 2010 09:54:31 +0000 (09:54 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Mon, 31 May 2010 09:54:31 +0000 (09:54 +0000)
plc.d/bootmanager

index 560a5a4..a68d497 100755 (executable)
@@ -30,17 +30,15 @@ case "$1" in
            [ -d "$topdir" ] || continue
            deployment=$(basename $topdir)
            if [ "$deployment" = "regular" ] ; then
-               action $"Rebuilding Boot Manager"
-               $topdir/build.sh regular
+               action $"Rebuilding Boot Manager"  $topdir/build.sh regular
                check
            elif [ -x $topdir/build.sh ] ; then
-               action $"Rebuilding Boot Manager for deployment $deployment"
-               $topdir/build.sh $deployment
+               action $"Rebuilding Boot Manager for deployment $deployment" $topdir/build.sh $deployment
                check
            elif [ "$deployment" == "source" ] ; then
-               action $"Ignoring obsolete dir, please cleanup" "$topdir"
+               action $"Ignoring obsolete dir, please cleanup $topdir"
            else
-               action $"WARNING: missing build.sh script in" "$topdir"
+               action $"WARNING: missing build.sh script in $topdir"
            fi
        done