fix(): Check if in $PWD/scripts directory
This commit is contained in:
parent
c1435c4c08
commit
f54b97e3c6
|
@ -1,3 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if in $PWD/scripts directory
|
||||
if [ "$(basename $PWD)" != "scripts" ]; then
|
||||
echo "You are not in the ./scripts directory. Change directory and run script again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Variables
|
||||
INPUT_FILE=ziti-edge-router_install_script.sh
|
||||
OUTPUT_FILE=../casts/ziti-edge-router_install.cast
|
||||
|
|
Loading…
Reference in New Issue
Block a user