summaryrefslogtreecommitdiff
path: root/helpers/lh_local
blob: 028832da8c80ce3eef0525c873ca35a1c05d453f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# lh_local(1) - use a local live-helper version
# Copyright (C) 2006-2008 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