diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-23 20:34:47 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-29 18:48:52 -0400 |
commit | 8c1137b9a6818ea938aa6bf2c00139d42d2a0242 (patch) | |
tree | 8f1ccfd4200df0fd385e7aefca5eb0827efc34c7 /src | |
parent | de03c74f12e95d905cc787e3814270a773d01bea (diff) |
fullpkg-build: (minor) use printf instead of echo and post-processing
Diffstat (limited to 'src')
-rwxr-xr-x | src/fullpkg/fullpkg-build | 2 |
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 } } |