From 3a10e0052b08ff9085517caf7bf82c991abdc431 Mon Sep 17 00:00:00 2001 From: aliriza Date: Tue, 8 Nov 2022 16:01:55 +0000 Subject: [PATCH] update scripts sandbox --- buildall.sh | 3 ++- update.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildall.sh b/buildall.sh index 2aa686a7..90c3307b 100644 --- a/buildall.sh +++ b/buildall.sh @@ -2,9 +2,10 @@ set -e find -type f | grep ympbuild | sort -V | while read line ; do name=$(basename $(dirname $line)) + path=$(realpath $(dirname $line)) if ! find ./output/ -type f | grep "${name}_" | grep "$(uname -m).ymp$" 2>/dev/null ; then echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" - ymp-build $(dirname $line) --verbose --no-source --ignore-dependency --allow-oem + ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --allow-oem echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" fi done diff --git a/update.sh b/update.sh index 6aafdc05..64278923 100644 --- a/update.sh +++ b/update.sh @@ -2,9 +2,10 @@ set -e find -type f | grep ympbuild | sort -V | while read line ; do name=$(basename $(dirname $line)) + path=$(realpath $(dirname $line)) if ! find ./output/ -type f | grep "${name}_" | grep "source.ymp$" 2>/dev/null ; then echo -e "\033[33;1m=>> SOURCE BUILD START:\033[;0m $line" - ymp-build $(dirname $line) --verbose --no-binary --ignore-dependency --allow-oem + ymp --sandbox --shared="$path" build "$path" --verbose --no-binary --ignore-dependency --allow-oem echo -e "\033[33;1m<<= SOURCE BUILD DONE:\033[;0m $line" fi done