[rkward/releases/0.6.4] scripts: Make it easier to switch between debian and debian-official for packaging
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Dec 15 12:28:44 UTC 2015
Git commit 26d4a4b993a2865405e2736616a5e524840a2a83 by Thomas Friedrichsmeier.
Committed on 15/12/2015 at 12:28.
Pushed by tfry into branch 'releases/0.6.4'.
Make it easier to switch between debian and debian-official for packaging
M +4 -3 scripts/make_debian_package.sh
http://commits.kde.org/rkward/26d4a4b993a2865405e2736616a5e524840a2a83
diff --git a/scripts/make_debian_package.sh b/scripts/make_debian_package.sh
index 162cea4..1a0ad28 100755
--- a/scripts/make_debian_package.sh
+++ b/scripts/make_debian_package.sh
@@ -2,12 +2,13 @@
cd `dirname $0`/..
BASEDIR=`pwd`
VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
+DEBDIR=${BASEDIR}/debian-official
DEBTEMPDIR=${BASEDIR}/debiantemp
rm -rf ${DEBTEMPDIR}
mkdir ${DEBTEMPDIR}
-if [ -z "`head -n 1 ${BASEDIR}/debian/changelog | grep "rkward (${VERSION}-"`" ]; then
- echo "Version mismatch! Adjust ${BASEDIR}/debian/changelog, first."
+if [ -z "`head -n 1 ${DEBDIR}/changelog | grep "rkward (${VERSION}-"`" ]; then
+ echo "Version mismatch! Adjust ${DEBDIR}/changelog, first."
exit 1
fi
@@ -21,7 +22,7 @@ cp ${BASEDIR}/rkward-$VERSION.tar.gz $DEBTEMPDIR/rkward_$VERSION.orig.tar.gz
cd $DEBTEMPDIR
tar -xzf rkward_$VERSION.orig.tar.gz
cd rkward-$VERSION
-cp -a ${BASEDIR}/debian .
+cp -a ${DEBDIR} debian
dpkg-buildpackage -k0x1858CBB6 -rfakeroot
cd $DEBTEMPDIR
More information about the rkward-tracker
mailing list