NekoX/run

10 lines
141 B
Plaintext
Raw Normal View History

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