File: test-deb.bash

package info (click to toggle)
tomboy-ng 0.42-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,872 kB
  • sloc: pascal: 56,089; sh: 1,571; makefile: 63; xml: 23
file content (21 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/bash
set -e

TESTDIR=`pwd`
TESTDIR="$TESTDIR""-TEST"

if [ -d "$TESTDIR" ]; then
	rm -Rf "$TESTDIR"
fi
mkdir "$TESTDIR"
cp *.xz *.gz *.dsc "$TESTDIR"/.
cd "$TESTDIR"
dpkg-source -x *.dsc
SRCDIRNAME=`find . -maxdepth 1 -type d -name "tomboy*" `
cd "$SRCDIRNAME"
dpkg-buildpackage -us -uc
cd ..
echo "------ Calling lintian -IiE *.changes -------"
lintian -IiE *.changes
pwd
ls -l