xbps-src-dopkg.sh: avoid useless use of cat

This commit is contained in:
maxice8 2019-04-13 17:35:45 -03:00 committed by maxice8
parent df5886d7d7
commit 5f0333baa9

View file

@ -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.