From ea9fa93593ce6470b1a175b5165a93a8da613179 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 4 Oct 2010 11:08:35 +0200 Subject: [PATCH] convert_apptemplate2vm.sh: use sed with 'g' flag to replace all occurances of %VMNAME% --- appmenus/convert_apptemplate2vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appmenus/convert_apptemplate2vm.sh b/appmenus/convert_apptemplate2vm.sh index b5ab146..cb7a4f3 100755 --- a/appmenus/convert_apptemplate2vm.sh +++ b/appmenus/convert_apptemplate2vm.sh @@ -6,7 +6,7 @@ VMDIR=$4 DST=$DSTDIR/$VMNAME-$(basename $SRC) -sed -e "s/%VMNAME%/$VMNAME/" \ +sed -e "s/%VMNAME%/$VMNAME/g" \ -e "s %VMDIR% $VMDIR " \ <$SRC >$DST