diff options
author | Daniel Baumann <daniel@debian.org> | 2007-12-22 09:34:38 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-12-22 09:34:38 +0100 |
commit | f40522b7d8d1e73751e72e10c1ea4208d0033900 (patch) | |
tree | dd86c0a907f5d928fb5f0ac7745de00d97400bbe /helpers/lh_local | |
parent | 35b5d4a8e4ef1043dcc685ba69892d8693b50ceb (diff) | |
download | vyos-live-build-f40522b7d8d1e73751e72e10c1ea4208d0033900.tar.gz vyos-live-build-f40522b7d8d1e73751e72e10c1ea4208d0033900.zip |
Adding lh_local based on the idea from Tzafrir Cohen <tzafrir.cohen@xorcom.com>.
Diffstat (limited to 'helpers/lh_local')
-rwxr-xr-x | helpers/lh_local | 18 |
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 |