]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
debian: match empty as well as unset section variable
authorTravis Cross <tc@traviscross.com>
Sun, 13 May 2012 20:53:58 +0000 (20:53 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 13 May 2012 20:54:32 +0000 (20:54 +0000)
debian/bootstrap.sh

index dcee07d3d0482d3e749af019d6657f3e58ef88f9..0c2ee5d10accc63d97fcdf41703f9cc433767278 100755 (executable)
@@ -477,7 +477,7 @@ EOF
 }
 
 print_mod_control () {
-  local m_section="${section-comm}"
+  local m_section="${section:-comm}"
   cat <<EOF
 Package: freeswitch-${module_name//_/-}
 Section: ${m_section}