You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
468 B
19 lines
468 B
#!/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
|
|
ln -s ../deploy_files .
|
|
fi
|
|
if [ ! -L sumfiles.sig ]; then
|
|
ln -s ../build/sumfiles.sig .
|
|
fi
|
|
|
|
php -c build/neato_deploy_php_cli.ini -f neato.php $@
|
|
|