File: courier-debuild

package info (click to toggle)
sysconftool 0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 496 kB
  • sloc: sh: 508; perl: 356; makefile: 172
file content (18 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
#
# Wrapper script for running debuild to build this package.

set -e

f=`cd .. && ls sysconftool-0.21.tar* | sed -n 1p`
rm -rf deb
mkdir deb
cp ../$f deb/`echo $f | sed 's/-/_/;s/.tar./.orig.tar./'`
cd deb
tar xf *
cd sysconftool-0.21
cp -pr packaging/debian .
debuild "$@"
cd ..
rm -rf sysconftool-0.21
echo "Built packages in the deb subdirectory."