aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/do-pkg/00-gen-pkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/do-pkg/00-gen-pkg.sh')
-rw-r--r--common/hooks/do-pkg/00-gen-pkg.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/hooks/do-pkg/00-gen-pkg.sh b/common/hooks/do-pkg/00-gen-pkg.sh
index 78ec2a1422a..c0ed088da9d 100644
--- a/common/hooks/do-pkg/00-gen-pkg.sh
+++ b/common/hooks/do-pkg/00-gen-pkg.sh
@@ -32,16 +32,16 @@ genpkg() {
_preserve=${preserve:+-p}
if [ -s ${PKGDESTDIR}/rdeps ]; then
- _deps="$(cat ${PKGDESTDIR}/rdeps)"
+ _deps="$(<${PKGDESTDIR}/rdeps)"
fi
if [ -s ${PKGDESTDIR}/shlib-provides ]; then
- _shprovides="$(cat ${PKGDESTDIR}/shlib-provides)"
+ _shprovides="$(<${PKGDESTDIR}/shlib-provides)"
fi
if [ -s ${PKGDESTDIR}/shlib-requires ]; then
- _shrequires="$(cat ${PKGDESTDIR}/shlib-requires)"
+ _shrequires="$(<${PKGDESTDIR}/shlib-requires)"
fi
if [ -s ${XBPS_STATEDIR}/gitrev ]; then
- _gitrevs="$(cat ${XBPS_STATEDIR}/gitrev)"
+ _gitrevs="$(<${XBPS_STATEDIR}/gitrev)"
fi
# Stripping whitespaces