From b88784ad2f85711be2069d5f348e6404b37ecb94 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sun, 9 Aug 2009 20:18:12 +0000 Subject: Added a modified version of the fakeroot2 patch from jlanger on #188. git-svn-id: http://svn.telesphoreo.org/trunk@654 514c082c-b64e-11dc-b46d-3d985efe055d --- exec.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'exec.sh') diff --git a/exec.sh b/exec.sh index cbaecaa23..3810f8e65 100755 --- a/exec.sh +++ b/exec.sh @@ -16,6 +16,12 @@ PKG_INCL= PKG_LIBS= PKG_PKGS= +if [[ -n ${FAKEROOTKEY} ]]; then + for i in "$(dirname $(which fakeroot))"/../lib{64,32,}/libfakeroot; do + PKG_LIBS=$i:${PKG_LIBS} + done +fi + case "${PKG_NAME}" in (-) deps=();; (:*) deps=(${PKG_NAME//:/ });; -- cgit v1.2.3