From bf332bb71b460a028a4d9cbfee10646655c5a0bb Mon Sep 17 00:00:00 2001 From: Tudor Marcu Date: Thu, 31 Mar 2016 12:56:25 -0700 Subject: [PATCH] Fix LD_PRELOAD and script call Signed-off-by: Tudor Marcu --- build-chroots.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-chroots.sh b/build-chroots.sh index dd8fc83..14e885f 100755 --- a/build-chroots.sh +++ b/build-chroots.sh @@ -98,8 +98,8 @@ fi # if this is a mix, need to build with the Clear version, but publish the mix version if [[ ! -z $BUILDERCONF ]]; then - sudo -E "LD_PRELOAD=/usr/lib64/nosync/nosync.so $BUILDERSCRIPT" -c "$BUILDERCONF" -m $BUILDVER $CLRVER + sudo -E sh -c "LD_PRELOAD=/usr/lib64/nosync/nosync.so $BUILDERSCRIPT -c $BUILDERCONF -m $BUILDVER $CLRVER" else - sudo -E "LD_PRELOAD=/usr/lib64/nosync/nosync.so $BUILDERSCRIPT" -m $BUILDVER $CLRVER + sudo -E sh -c "LD_PRELOAD=/usr/lib64/nosync/nosync.so $BUILDERSCRIPT -m $BUILDVER $CLRVER" fi # vi: ts=8 sw=2 sts=2 et tw=80