diff --git a/instance.sh b/instance.sh index fcfba61..4552cd4 100755 --- a/instance.sh +++ b/instance.sh @@ -141,10 +141,7 @@ new_instance() { mkdir $OCTOCONFIG/$INSTANCE - cat $SCRIPTDIR/docker-compose.yml | \ - sed -e "s/NEWINSTANCE/$INSTANCE/" \ - -e "s/CAMPORT/$CAMPORT/" > \ - -e "s/NEWPORT/$PORT/" > $OCTOCONFIG/$INSTANCE/docker-compose.yml + cat $SCRIPTDIR/docker-compose.yml | sed -e "s/NEWINSTANCE/$INSTANCE/" -e "s/CAMPORT/$CAMPORT/" -e "s/NEWPORT/$PORT/" > $OCTOCONFIG/$INSTANCE/docker-compose.yml #write phase if [ -n "$UDEV" ] || [ -n "$USB" ]; then