qubes-linux-template-builder/appmenus/convert_dirtemplate2vm.sh
Joanna Rutkowska b5e395d385 Initial public commit.
(c) 2010 Invisible Things Lab

Authors:
=========
Joanna Rutkowska <joanna@invisiblethingslab.com>
Rafal Wojtczuk  <rafal@invisiblethingslab.com>
2010-04-06 00:25:37 +02: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