diff options
-rw-r--r-- | src/ob-gencontrol.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index 175e275..2e14e6a 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -78,7 +78,8 @@ gen_control_src() # setup_build(). cat >"${binary}.control/control" <<-EOF Package: ${OPK_SOURCE} - Binary:$(printf ' %s' ${OPK_PACKAGES}) + Binary:$(printf '%s\n' ${OPK_PACKAGES} | LC_ALL='C' sort | \ + xargs printf ' %s') Version: ${OPK_SOURCE_VERSION} Architecture: src Platform: all |