summaryrefslogtreecommitdiff
path: root/src/fullpkg
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-23 20:34:47 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-29 18:48:52 -0400
commit8c1137b9a6818ea938aa6bf2c00139d42d2a0242 (patch)
tree8f1ccfd4200df0fd385e7aefca5eb0827efc34c7 /src/fullpkg
parentde03c74f12e95d905cc787e3814270a773d01bea (diff)
fullpkg-build: (minor) use printf instead of echo and post-processing
Diffstat (limited to 'src/fullpkg')
-rwxr-xr-xsrc/fullpkg/fullpkg-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fullpkg/fullpkg-build b/src/fullpkg/fullpkg-build
index 8f01369..e922877 100755
--- a/src/fullpkg/fullpkg-build
+++ b/src/fullpkg/fullpkg-build
@@ -21,7 +21,7 @@ list_pkgs() {
msg="$2"
local pkgs=($(grep "$1:" $build_dir/log)) && {
msg "$2"
- echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2
+ printf '%s\n' "${pkgs[@]}" | cut -d: -f2
}
}