Commits

Jon Langevin committed d296e47

Changing delimiter to avoid errors

Comments (0)

Files changed (1)

 
 VHOSTPATH="$VHOSTDIR/$VHOST"
 sudo -u www-data cp -Rf "$VHOSTSKEL/" "$VHOSTPATH"
-sudo -u www-data ack-grep -l VHOSTDIR $VHOSTPATH/conf/* | xargs -t -n 1 sed -i -e "s/VHOSTDIR/$VHOSTDIR/g"
-sudo -u www-data ack-grep -l DOMAIN $VHOSTPATH/conf/* | xargs -t -n 1 sed -i -e "s/DOMAIN/$VHOST/g"
-sudo -u www-data ack-grep -l SERVERIP $VHOSTPATH/conf/* | xargs -t -n 1 sed -i -e "s/SERVERIP/$VHOSTIP/g"
+sudo -u www-data ack-grep -l VHOSTDIR $VHOSTPATH/conf/* | xargs -t -n 1 sed -i -e "s@VHOSTDIR@$VHOSTDIR@g"
+sudo -u www-data ack-grep -l DOMAIN $VHOSTPATH/conf/* | xargs -t -n 1 sed -i -e "s@DOMAIN@$VHOST@g"
+sudo -u www-data ack-grep -l SERVERIP $VHOSTPATH/conf/* | xargs -t -n 1 sed -i -e "s@SERVERIP@$VHOSTIP@g"
 echo "Skeleton copied to \"$VHOSTPATH\""