diff --git a/start-production.sh b/start-production.sh index 2a44a41..ce46130 100755 --- a/start-production.sh +++ b/start-production.sh @@ -44,10 +44,10 @@ NC='\033[0m' # No Color # Script directory WEB_ROOT="/var/www/vidrip" -SCRIPT_DIR="$WEB_ROOT" +SCRIPT_DIR=(pwd) +echo -e "$SCRIPT_DIR" rm -rf "$WEB_ROOT/*" -cp -r ./* "$WEB_ROOT" cd "$SCRIPT_DIR" # Configuration