This commit is contained in:
aliriza committed 2022-11-14 10:32:31 +00:00
1 parent 28dd022a5e
commit b651fead77
3 files changed
+36 -3

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -ex
move_package(){
mkdir -p output
find -type f | grep -v "output"| grep "$(uname -m).ymp$" | sort -V | while read line ; do
@@ -12,7 +12,7 @@ find -type f | grep ympbuild | sort -V | while read line ; do
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 --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --use=all --allow-oem
ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --use=all --allow-oem || exit 1
move_package
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
fi