summaryrefslogtreecommitdiff
path: root/helpers/local
blob: 16e228e8a27ce11f60a72e22b5d69a4f91730c25 (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-2009 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