summaryrefslogtreecommitdiff
path: root/bin/build-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-package')
-rwxr-xr-xbin/build-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-package b/bin/build-package
index 8a1f94f..3a891b6 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -182,7 +182,7 @@ build_packages() {
[ "x$l_CODENAME" = "xlenny" ] && VERSION=oldstable
# modify the section for non-main package builds
- [ "x$COMPONENT" != "xmain" ] || {
+ [ "x$COMPONENT" != "xmain" ] && {
mv debian/control debian/control.tmp
cat debian/control.tmp | sed "s#Section:[\ ]*\(.*\)#Section: $COMPONENT/\1#g" > debian/control
}