From a7d49f1b56a58a035765ad35ad1a76330bd665b5 Mon Sep 17 00:00:00 2001 From: sulincix Date: Tue, 6 Dec 2022 21:48:09 +0000 Subject: [PATCH] update buildall --- buildall.sh | 2 +- update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildall.sh b/buildall.sh index 813a29bc..4cfaf057 100644 --- a/buildall.sh +++ b/buildall.sh @@ -9,7 +9,7 @@ move_package(){ 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$" &>/dev/null ; then + if ! find ./output/ -type f | grep "${name}/${name}_" | grep "$(uname -m).ymp$" &>/dev/null ; then echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" ymp --sandbox --shared="$path" build "$path" --no-source --ignore-dependency --use=all --allow-oem || exit 1 move_package diff --git a/update.sh b/update.sh index 73b9141e..f6c9c3da 100644 --- a/update.sh +++ b/update.sh @@ -9,7 +9,7 @@ move_source(){ 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$" &>/dev/null ; then + if ! find ./output/ -type f | grep "${name}/${name}_" | grep "source.ymp$" &>/dev/null ; then echo -e "\033[33;1m=>> SOURCE BUILD START:\033[;0m $line" ymp --sandbox --shared="$path" build "$path" --no-binary --ignore-dependency --use=all --allow-oem --verbose || exit 1 move_source