qubes-core-admin-linux/appmenus-scripts/convert-dirtemplate2vm.sh
2013-03-16 18:23:22 +01:00

12 lines
126 B
Bash
Executable File

#!/bin/sh
SRC=$1
DST=$2
VMNAME=$3
VMDIR=$4
sed -e "s/%VMNAME%/$VMNAME/" \
-e "s %VMDIR% $VMDIR " \
<$SRC >$DST