From 8117a6d38b2c84b15d3f77693e1c455b1f4c5eff Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Fri, 11 Sep 2015 08:38:10 +0100 Subject: [PATCH] Shift args --- bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 8576ea4..3a487fd 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,11 +1,11 @@ #!/bin/bash -mkdir -p "$1" +mkdir -p "$2" -cd "$1" +cd "$2" -echo "CD'd to directory: $1" +echo "CD'd to directory: $2" -echo "Executing with parameters: ${@:2}" +echo "Executing with parameters: ${@:3}" -/plexmediaserver/Resources/Plex\ New\ Transcoder "${@:2}" \ No newline at end of file +/plexmediaserver/Resources/Plex\ New\ Transcoder "${@:3}" \ No newline at end of file