Script dir different from web root
This commit is contained in:
parent
a92185727d
commit
74ff18810f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue