1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-15 12:09:29 +01:00
NekoX/run
2021-01-17 19:39:32 +08:00

10 lines
141 B
Bash
Executable File

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