summaryrefslogtreecommitdiff
path: root/helpers/lh_local
blob: 17ecaae1b8d0482cd5cf49864916575096f241b2 (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-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