xbps-src-dopkg.sh: avoid useless use of cat
This commit is contained in:
@@ -37,7 +37,7 @@ if [ "$sourcepkg" != "$PKGNAME" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Run do-pkg hooks.
|
# Run do-pkg hooks.
|
||||||
|
|||||||
Reference in New Issue
Block a user