From 5f0333baa9bae330577634aa4c40909388c579a7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 13 Apr 2019 17:35:45 -0300 Subject: [PATCH] xbps-src-dopkg.sh: avoid useless use of cat --- common/xbps-src/libexec/xbps-src-dopkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.