convert_apptemplate2vm.sh: use sed with 'g' flag to replace all occurances of %VMNAME%

pull/1/head
Joanna Rutkowska 14 years ago
parent e4ae32d196
commit ea9fa93593

@ -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

Loading…
Cancel
Save