summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-12-22 09:34:38 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commitac8753ea3fb84302afb86a5ef91c37dd19d3b253 (patch)
treedd86c0a907f5d928fb5f0ac7745de00d97400bbe /helpers
parent7a7e40b5a743dddf507e0b978c34b277893c9265 (diff)
downloadlive-build-ac8753ea3fb84302afb86a5ef91c37dd19d3b253.zip
live-build-ac8753ea3fb84302afb86a5ef91c37dd19d3b253.tar.gz
Adding lh_local based on the idea from Tzafrir Cohen <tzafrir.cohen@xorcom.com>.
Diffstat (limited to 'helpers')
-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 0000000..17ecaae
--- /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