Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-27 21:01:22 +0200
committerErich Eckner <git@eckner.net>2021-02-13 14:05:37 +0100
commit374ef45ea2dd85e337be9a493e4535f31c554487 (patch)
tree2db3fa9713fed1ddf595e3e0e022f35b1db5ae7d /archbuild.in
parentf02e83e667fe7890ec6af7baff7f8e3bc67c33ef (diff)
use `read -r var < "$file"` instead of `var=$(cat "$file")`
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index c317cc2..d530629 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -18,7 +18,7 @@ else
arch=${tag##*-}
fi
if [[ -f "@pkgdatadir@/setarch-aliases.d/${arch}" ]]; then
- set_arch=$(cat "@pkgdatadir@/setarch-aliases.d/${arch}")
+ read -r set_arch < "@pkgdatadir@/setarch-aliases.d/${arch}"
else
set_arch="${arch}"
fi