aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxice8 <thinkabit.ukim@gmail.com>2019-04-13 20:35:45 +0000
committermaxice8 <30738253+maxice8@users.noreply.github.com>2019-04-15 15:18:00 +0000
commit5f0333baa9bae330577634aa4c40909388c579a7 (patch)
tree2cc3c4f31578106413776f8004e7f2df964cede9
parentdf5886d7d7445eca5d084a00a565be62ea9c47eb (diff)
downloadvoid-packages-5f0333baa9bae330577634aa4c40909388c579a7.tar
void-packages-5f0333baa9bae330577634aa4c40909388c579a7.tar.gz
void-packages-5f0333baa9bae330577634aa4c40909388c579a7.tar.bz2
void-packages-5f0333baa9bae330577634aa4c40909388c579a7.tar.lz
void-packages-5f0333baa9bae330577634aa4c40909388c579a7.tar.xz
void-packages-5f0333baa9bae330577634aa4c40909388c579a7.tar.zst
void-packages-5f0333baa9bae330577634aa4c40909388c579a7.zip
xbps-src-dopkg.sh: avoid useless use of cat
-rwxr-xr-xcommon/xbps-src/libexec/xbps-src-dopkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xbps-src/libexec/xbps-src-dopkg.sh b/common/xbps-src/libexec/xbps-src-dopkg.sh
index f367634e087..5fec7b9d8d5 100755
--- a/common/xbps-src/libexec/xbps-src-dopkg.sh
+++ b/common/xbps-src/libexec/xbps-src-dopkg.sh
@@ -37,7 +37,7 @@ if [ "$sourcepkg" != "$PKGNAME" ]; then
fi
if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then
- export XBPS_ARCH=$(cat $XBPS_MASTERDIR/.xbps_chroot_init)
+ export XBPS_ARCH=$(<$XBPS_MASTERDIR/.xbps_chroot_init)
fi
# Run do-pkg hooks.