[PATCH 1/4] Allow the use of helpers without installing
- Subject: [PATCH 1/4] Allow the use of helpers without installing
- From: otavio at ossystems.com.br (Otavio Salvador)
- Date: Tue Feb 13 21:56:17 2007
- Message-id: <20070213205419.19989.91324.stgit@localhost>
- In-reply-to: <20070213205200.19989.68508.stgit@localhost>
- References: <20070213205200.19989.68508.stgit@localhost>
From: Otavio Salvador <otavio@ossystems.com.br>
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 <otavio@ossystems.com.br>
---
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
Reply to: