mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-11-16 15:18:11 +01:00
11 lines
168 B
Bash
Executable File
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 |