Explore
Search
Docs
Sign in
Get started
xtao/nagram
N
xtao
/
Nagram
Public
Sign in to fork
Clone
Code
Issues
Change requests
Actions
Discussions
Commits
Branches
Releases
Search
Contributors
Compare
Code
Issues
Change requests
Actions
Discussions
Commits
Branches
Releases
Search
Contributors
Compare
2d1e4b201381
Nagram
/
run
世
世界
Show target script
2d1e4b201381
·
…
History
Code
Blame
11 lines · 168 B
application/octet-stream
Raw
1
#!/bin/bash
2
3
TARGET="bin"
4
for e in $@; do
5
TARGET="$TARGET/$e"
6
shift
7
if [ -x "${TARGET}.sh" ]; then
8
echo ">> ${TARGET}.sh"
9
exec "${TARGET}.sh" $@
10
fi
11
done