10 lines
141 B
Bash
Executable File
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 |