From: Barış Metin Date: Mon, 31 May 2010 09:54:31 +0000 (+0000) Subject: fix action calls. first argument is the message and rest shall be the command X-Git-Tag: BootManager-5.0-4~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ec44d0e4ba13e7adc12253270a3e762bbdf52b05;p=bootmanager.git fix action calls. first argument is the message and rest shall be the command --- diff --git a/plc.d/bootmanager b/plc.d/bootmanager index 560a5a4..a68d497 100755 --- a/plc.d/bootmanager +++ b/plc.d/bootmanager @@ -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