Adding lh_local based on the idea from Tzafrir Cohen <tzafrir.cohen@xorcom.com>.

This commit is contained in:
Daniel Baumann 2007-12-22 09:34:38 +01:00
parent 35b5d4a8e4
commit f40522b7d8
1 changed files with 18 additions and 0 deletions

18
helpers/lh_local Executable file
View File

@ -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