deploy script
This commit is contained in:
5
run.sh
5
run.sh
@@ -1,4 +1,9 @@
|
||||
#!/bin/bash
|
||||
[ "$ENV_DIR" == "" ] && export ENV_DIR=$HOME
|
||||
[ ! -d "$ENV_DIR" ] && echo ENV_DIR DOES NOT EXIST && exit 1
|
||||
|
||||
echo ENV_DIR "$ENV_DIR"
|
||||
|
||||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
|
||||
runs_dir="$(find $script_dir/runs -mindepth 1 -maxdepth 1 -type f -executable)"
|
||||
|
||||
Reference in New Issue
Block a user