Commits

simonp  committed 011fd10

makedeb now accepts other args for dpkg-buildpackage

  • Participants
  • Parent commits 9f2450e

Comments (0)

Files changed (2)

 syntax: glob
 
 build-python*
+build/*
+*swp
 debian/python-portmidi*
 debian/compat
 debian/files
     exit 1
 fi
 
-if [ $# -ne 1 ]
+if [ $# -lt 1 ]
 then
     echo "$(basename $0) will make either a debian or ubuntu package"
     echo "Usage: $(basename $0) distro"
     exit 1
 else
     distro="$1"
+    shift
+    echo "$@"
 fi
 
 if [ -f debian/changelog ]  && [ ! -L debian/changelog ]
 pushd debian
 ln -sf $distro-changelog changelog
 popd
-dpkg-buildpackage -r 
+dpkg-buildpackage -r $@