summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-06-13 09:28:32 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-13 09:31:40 +0200
commitb88c32c8cb0c27f7c97274d7702c11beeebc367b (patch)
tree713a9e4a2a8bc6eb2300a8048531fe748e03bf36 /scripts
parent3656b6dbbda5e64a34959180fc5998321cea003d (diff)
downloadptxdist-b88c32c8cb0c27f7c97274d7702c11beeebc367b.tar.gz
ptxdist-b88c32c8cb0c27f7c97274d7702c11beeebc367b.tar.xz
ptxd_make_xpkg_common: Revert "useless use of cat"
This partially reverts commit 9606474215748ba68b32fd8b89360d0e165b3651. '$(< file)' only work for one file. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_xpkg_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_common.sh b/scripts/lib/ptxd_make_xpkg_common.sh
index e34e73be8..279348f55 100644
--- a/scripts/lib/ptxd_make_xpkg_common.sh
+++ b/scripts/lib/ptxd_make_xpkg_common.sh
@@ -45,7 +45,7 @@ ptxd_do_xpkg_map() {
else
set -- "${@/#/${ptx_state_dir}/}"
fi
- ptxd_reply=( $(< "${@/%/.xpkg.map}" 2>/dev/null) )
+ ptxd_reply=( $(cat "${@/%/.xpkg.map}" 2>/dev/null) )
[ ${#ptxd_reply[@]} -ne 0 ]
}