dump current state (wip-ish)
This commit is contained in:
parent
0124c35472
commit
51fb1c9f26
46 changed files with 3749 additions and 0 deletions
16
run
Executable file
16
run
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
export RUN_BIN="$0"
|
||||
export RUN_DIR=$(dirname "$(realpath "$0")")
|
||||
|
||||
task=
|
||||
if [ -e "$RUN_DIR/scripts/$1" ]; then
|
||||
task="$1"
|
||||
elif [ -e "$RUN_DIR/scripts/local/$1" ]; then
|
||||
task="local/$1"
|
||||
fi
|
||||
|
||||
[ -z "$task" ] && exit 1
|
||||
|
||||
shift
|
||||
exec "$RUN_DIR/scripts/$task" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue