feat: add better shell-like command support
You can now execute any kind of program in the PATH. You do, however, need to specify "./" if you want to execute a local file, but that shouldn't be too big a problem.
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -ex # print all that we're doing (no need for echo's)
|
||||
tmpdir=$(mktemp -d)
|
||||
git clone --depth=1 --recurse-submodules --shallow-submodules -b $1 "$SCI_PIPELINE_URL" "$tmpdir"
|
||||
shift
|
||||
cd "$tmpdir"
|
||||
sh .sci.sh
|
||||
cd -
|
||||
Reference in New Issue
Block a user