Force neatoDeploy/app check.

main
Robert 2 years ago
parent 4c47312e5e
commit 0c7a9ba7a5
  1. 10
      app/just_testing.sh

@ -1,4 +1,14 @@
#!/bin/bash #!/bin/bash
current_directory=$(pwd)
require_target_directory="neatoDeploy/app"
if [[ ! $current_directory == *$require_target_directory ]]; then
/usr/bin/echo "Only run from neatoDeploy/app github repo dir!"
/usr/bin/echo "please cd into neatoDeploy/app first!"
exit 1
fi
if [ ! -L deploy_files ]; then if [ ! -L deploy_files ]; then
ln -s ../deploy_files . ln -s ../deploy_files .
fi fi

Loading…
Cancel
Save