1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00
NekoX/run
2021-03-05 12:36:01 +08:00

11 lines
168 B
Bash
Executable File

#!/bin/bash
TARGET="bin"
for e in $@; do
TARGET="$TARGET/$e"
shift
if [ -x "${TARGET}.sh" ]; then
echo ">> ${TARGET}.sh"
exec "${TARGET}.sh" $@
fi
done