qubes-core-admin-linux/appmenus-scripts/convert-dirtemplate2vm.sh

12 lines
126 B
Bash
Raw Normal View History

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