2016-07-11 19:49:52 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This is a nasty hack that prepares a separate package tree suitable for
|
|
|
|
# building the package for wheezy
|
|
|
|
|
|
|
|
TOP=`dirname $0`
|
|
|
|
OUT=$TOP/package-wheezy
|
|
|
|
|
|
|
|
rm -fr $OUT
|
|
|
|
|
2016-07-11 20:54:07 +02:00
|
|
|
FILES=$(find $TOP -mindepth 1 -maxdepth 1 -name .git -prune -o -name 'debian-wheezy' -prune -o -print)
|
2016-07-11 19:49:52 +02:00
|
|
|
mkdir $OUT
|
|
|
|
cp -a $FILES $OUT
|
|
|
|
|
|
|
|
cp -a $TOP/debian-wheezy/* $OUT/debian/
|
|
|
|
|
|
|
|
echo "Updating changelog for wheezy backport build"
|
|
|
|
dch --changelog $OUT/debian/changelog --bpo --distribution wheezy-backports "Automated backport build for wheezy"
|
|
|
|
|
|
|
|
echo "OK, ready to go in $OUT"
|