summaryrefslogtreecommitdiff
path: root/scripts/build/local
blob: 39ba6a7fd116acf043d6f9e94f882c21bf09be5a (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-2010 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