xbps-src-dopkg.sh: avoid useless use of cat
This commit is contained in:
parent
df5886d7d7
commit
5f0333baa9
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue