aboutsummaryrefslogtreecommitdiff
path: root/libexec/app-grep-path
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/app-grep-path')
-rwxr-xr-xlibexec/app-grep-path13
1 files changed, 13 insertions, 0 deletions
diff --git a/libexec/app-grep-path b/libexec/app-grep-path
new file mode 100755
index 0000000..f5e8287
--- /dev/null
+++ b/libexec/app-grep-path
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# A command line wrapper around get grep_path function
+
+if [[ $APPSH_HOME == "" ]]
+then
+ APPSH_HOME=`dirname "$0"`
+ APPSH_HOME=`cd "$APPSH_HOME/.." && pwd`
+fi
+
+. $APPSH_HOME/lib/common
+
+grep_path "$1" "$2"