diff --git a/start-production.sh b/start-production.sh index 8c760e6..56843cf 100755 --- a/start-production.sh +++ b/start-production.sh @@ -20,10 +20,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 ./* "$WEB_ROOT" cd "$SCRIPT_DIR" # Configuration