create-mkdebian.sh: Code beautification

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2015-05-26 13:34:29 +00:00
commit 9430be3109

View file

@ -6,10 +6,10 @@ inifile=$1
. $dir/ini-tools.sh . $dir/ini-tools.sh
cat << EOT cat << EOT
#format_depends() format_depends()
#{ {
# sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,/,/g' sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,*/,/g; s/, *$//'
#} }
changelog() changelog()
{ {
@ -41,7 +41,7 @@ Build-Depends: debhelper (>= 9)
Package: \$NAME-run Package: \$NAME-run
Architecture: any Architecture: any
Depends: `echo \${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN, \$REQUIRES_DEVEL | sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,*/,/g; s/, *$//'` Depends: `echo "\${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN, \$REQUIRES_DEVEL" | format_depends`
Description: `ini_value summary` Description: `ini_value summary`
`ini_value description | sed 's/^/ /'` `ini_value description | sed 's/^/ /'`
EOF EOF