Update combine_libs script

Remove commented code from production.
Align indentations to 4 spaces.
This commit is contained in:
skaluzka 2021-08-14 21:45:44 +02:00
parent 6260db5733
commit 719169dbe3
No known key found for this signature in database
GPG Key ID: BA6384EF5EF76DF2

View File

@ -13,10 +13,6 @@ abspath() {
TARGET=$(abspath "$1") TARGET=$(abspath "$1")
#echo ORIGDIR="$ORIGDIR"
#echo AR="$AR"
#echo ARFLAGS="$AFLAGS"
shift shift
for input in "$@"; do for input in "$@"; do
@ -29,7 +25,6 @@ for input in "$@"; do
done done
cd "$TMPDIR" >/dev/null cd "$TMPDIR" >/dev/null
#echo "${AR:-ar}" "${ARFLAGS:-cru}" library.tmp.a ./*/**
"${AR:-ar}" "${ARFLAGS:-cru}" library.tmp.a ./*/** "${AR:-ar}" "${ARFLAGS:-cru}" library.tmp.a ./*/**
"${RANLIB:-ranlib}" library.tmp.a "${RANLIB:-ranlib}" library.tmp.a
mv -f library.tmp.a "$TARGET" mv -f library.tmp.a "$TARGET"