Commit ae403fb3 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-s/launch-scripts-from-anywhere' into 'dev'

No more need to launch scripts from scripts directory

See merge request !670
parents fc85aa10 b26c485f
Pipeline #140071 failed with stages
in 19 minutes and 15 seconds
......@@ -8,6 +8,7 @@ if [ $# -eq 0 -o "$1" == "-h" -o "$1" == "--help" ]; then
exit 1
fi
SCRIPT_DIR=$(dirname $0)
script_name=$1
shift
python ../../../web2py.py -S vidjil -M -R "applications/vidjil/scripts/$script_name" -A $*
python $SCRIPT_DIR/../../../web2py.py -S vidjil -M -R "applications/vidjil/scripts/$script_name" -A $*
#!/bin/sh
python ../../../web2py.py -S vidjil -M
SCRIPT_DIR=$(dirname $0)
python $SCRIPT_DIR/../../../web2py.py -S vidjil -M
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment