1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 10:33:36 +00:00
NekoX/run

11 lines
168 B
Plaintext
Raw Normal View History

2021-01-16 16:25:30 +00:00
#!/bin/bash
TARGET="bin"
for e in $@; do
TARGET="$TARGET/$e"
2021-01-17 11:39:32 +00:00
shift
if [ -x "${TARGET}.sh" ]; then
2021-03-05 04:32:49 +00:00
echo ">> ${TARGET}.sh"
2021-01-17 11:39:32 +00:00
exec "${TARGET}.sh" $@
fi
done