From: Otavio Salvador <[EMAIL PROTECTED]>
While doing development or in some specific kind of use, can be handy
to be able to use 'live-package' without installing it. This patch
makes the needed helpers available on the PATH iif
LIVE_PACKAGE_IN_PATH variable is set.
Signed-off-by: Otavio Salvador <[EMAIL PROTECTED]>
---
src/main.sh | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main.sh b/src/main.sh
index 5f11402..6a6eb8b 100755
--- a/src/main.sh
+++ b/src/main.sh
@@ -360,6 +360,10 @@ Main ()
esac
done
+ if [ ! -z ${LIVE_PACKAGE_IN_PATH} ]; then
+ PATH=helpers/:$PATH
+ fi
+
# Initialising
lh_testroot
Configuration
_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel