From 079a49eaaa5a6bacca3181671abd8ebb72015fd1 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 21 Apr 2013 11:10:37 +0200 Subject: o Allowing the 'app' wrapper to run apps from libexec too. --- app | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app') 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 -- cgit v1.2.3