fixed packaging script for debian release

This commit is contained in:
csoler 2018-05-09 10:15:32 +02:00
parent f406d9af16
commit 889c27726e
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -44,6 +44,9 @@ while [ ${#} -gt 0 ]; do
rev=${1}
shift
;;
# "-debian") shift
# debian="true"
# ;;
"-retrotor") shift
useretrotor="true"
;;
@ -147,6 +150,8 @@ echo Cleaning...
echo Calling debuild...
for i in ${dist}; do
if ! test "${i}" = "debian"; then
echo copying changelog for ${i}
sed -e s/XXXXXX/"${rev}"/g -e s/YYYYYY/"${i}"/g -e s/ZZZZZZ/"${version_number}"/g ../changelog > debian/changelog
@ -160,8 +165,11 @@ for i in ${dist}; do
echo Using standard control file control."${i}" for distribution "${i}"
cp ../debian/control debian/control
fi
else
echo creating official debian release. Using built-in changelog and control files
fi
debuild -S -k${gpgkey}
debuild -S -k${gpgkey} --lintian-opts +pedantic -EviIL
done
cd -