Package: devscripts
Version: 2.8.11
Severity: minor
File: /usr/bin/debsign
Tags: patch
Hi,
With the _POSIX2_VERSION environment variable set to 200112, debsign complains:
signfile ./afterstep_2.00.03exp+20050318cvs-1dbg.dsc Robert Luberda <[EMAIL
PROTECTED]>
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
/usr/bin/debsign: line 113: [: too many arguments
Please apply the following patch:
--- /usr/bin/debsign 2005-03-13 15:35:47.000000000 +0100
+++ debsign 2005-03-21 20:34:06.030172880 +0100
@@ -107,10 +107,10 @@
signfile () {
if [ $signinterface = gpg ]
then
- gpgversion=`gpg --version | head -1 | cut -d' ' -f3`
+ gpgversion=`gpg --version | head -n 1 | cut -d' ' -f3`
gpgmajorversion=`echo $gpgversion | cut -d. -f1`
gpgminorversion=`echo $gpgversion | cut -d. -f2`
- if [ $gpgmajorversion -gt 1 -o $gpgminorversion -ge 4 ]
+ if [ "$gpgmajorversion" -gt 1 -o "$gpgminorversion" -ge 4 ]
then
(cat "$1" ; echo "") | \
$signcommand --local-user "$2" --clearsign \
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Versions of packages devscripts depends on:
ii debianutils 2.13.1 Miscellaneous utilities specific t
ii dpkg-dev 1.10.27 Package building tools for Debian
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii perl 5.8.4-8 Larry Wall's Practical Extraction
ii sed 4.1.4-2 The GNU sed stream editor
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]