mirror of
https://github.com/FriendlyNeighborhoodShane/MinMicroG
synced 2024-11-18 15:25:35 +00:00
Shorten script
This commit is contained in:
parent
f407ca1ff9
commit
558594a0b5
22
build.sh
22
build.sh
@ -69,7 +69,7 @@ for object in $stuff; do
|
||||
done;
|
||||
done;
|
||||
|
||||
for object in $stuff_arch; do
|
||||
for object in $stuff_arch $stuff_sdk $stuff_arch_sdk; do
|
||||
for realobject in $resdir/$(dirname "$object")/-*-/$(basename "$object") $resdldir/$(dirname "$object")/-*-/$(basename "$object"); do
|
||||
[ -e "$realobject" ] || continue;
|
||||
cond="$(basename "$(dirname "$realobject")")";
|
||||
@ -79,26 +79,6 @@ for object in $stuff_arch; do
|
||||
done;
|
||||
done;
|
||||
|
||||
for object in $stuff_sdk; do
|
||||
for realobject in $resdir/$(dirname "$object")/-*-/$(basename "$object") $resdldir/$(dirname "$object")/-*-/$(basename "$object"); do
|
||||
[ -e "$realobject" ] || continue;
|
||||
cond="$(basename "$(dirname "$realobject")")";
|
||||
echo " -- BUILDER: Copying $object ($realobject to $tmpdir/$(dirname "$object")/$cond/)";
|
||||
mkdir -p "$tmpdir/$(dirname "$object")/$cond/";
|
||||
cp -Rf "$realobject" "$tmpdir/$(dirname "$object")/$cond/";
|
||||
done;
|
||||
done;
|
||||
|
||||
for object in $stuff_arch_sdk; do
|
||||
for realobject in $resdir/$(dirname "$object")/-*--*-/$(basename "$object") $resdldir/$(dirname "$object")/-*--*-/$(basename "$object"); do
|
||||
[ -e "$realobject" ] || continue;
|
||||
cond="$(basename "$(dirname "$realobject")")";
|
||||
echo " -- BUILDER: Copying $object ($realobject to $tmpdir/$(dirname "$object")/$cond/)";
|
||||
mkdir -p "$tmpdir/$(dirname "$object")/$cond/";
|
||||
cp -Rf "$realobject" "$tmpdir/$(dirname "$object")/$cond/";
|
||||
done;
|
||||
done;
|
||||
|
||||
# Zip
|
||||
|
||||
echo " ";
|
||||
|
Loading…
Reference in New Issue
Block a user