summaryrefslogtreecommitdiff
path: root/helpers/lh_local
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_local')
-rwxr-xr-xhelpers/lh_local18
1 files changed, 18 insertions, 0 deletions
diff --git a/helpers/lh_local b/helpers/lh_local
new file mode 100755
index 000000000..17ecaae1b
--- /dev/null
+++ b/helpers/lh_local
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# lh_local(1) - use a local live-helper version
+# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
+#
+# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+# This is free software, and you are welcome to redistribute it
+# under certain conditions; see COPYING for details.
+
+LH_BASE="${PWD}/live-helper"
+PATH="${LH_BASE}/helpers:${PATH}"
+
+export LH_BASE PATH
+
+if [ ! -z "${1}" ]
+then
+ exec lh "${@}"
+fi