This commit is contained in:
2023-03-22 02:48:48 -07:00
parent a8c2a46f2d
commit 5aa22ee508
7 changed files with 13 additions and 16 deletions

View File

@@ -1,9 +1,8 @@
#!/bin/sh
WORKDIR="$1"
WORKDIR=${WORKDIR:"."}
cd "$WORKDIR"
ARGS_ARRAY=($@)
ARGS=${array[@]:1}
ARGS="$@"
OUTPUT=$(bash -c "$ARGS")
RESULT=$?
echo "$OUTPUT"