executable home dir
This commit is contained in:
parent
900d24075f
commit
1af513600d
1
lenvi.sh
1
lenvi.sh
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
# Find the script's own directory to run from the correct location,
|
# Find the script's own directory to run from the correct location,
|
||||||
# ensuring that playbook.yml and other files are found.
|
# ensuring that playbook.yml and other files are found.
|
||||||
|
chmod +x /home/$(whoami)
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
cd "$SCRIPT_DIR"
|
cd "$SCRIPT_DIR"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user