aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-04-21 11:10:37 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-04-21 14:58:23 +0200
commit079a49eaaa5a6bacca3181671abd8ebb72015fd1 (patch)
treefd956e35d17bf41f173d02613c0c31a350291d89 /app
parentc8a9de50c8f7254c61888982ae270bf71c3f8506 (diff)
downloadapp.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.tar.gz
app.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.tar.bz2
app.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.tar.xz
app.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.zip
o Allowing the 'app' wrapper to run apps from libexec too.
Diffstat (limited to 'app')
-rwxr-xr-xapp8
1 files changed, 6 insertions, 2 deletions
diff --git a/app b/app
index 6f5a836..4993176 100755
--- a/app
+++ b/app
@@ -53,8 +53,12 @@ bin=`grep_path "/app-$command$" "$APPSH_HOME/bin"`
if [ ! -x "$bin" ]
then
- echo "Unknown command: $command" 2>&1
- exit 1
+ bin=`grep_path "/app-$command$" "$APPSH_HOME/libexec"`
+ if [ ! -x "$bin" ]
+ then
+ echo "Unknown command: $command" 2>&1
+ exit 1
+ fi
fi
PATH=$APPSH_HOME/bin:$PATH