Browse Source

POSIX stuff.

suites/jessie-proposed-backports
Chris Lawrence 19 years ago
parent
commit
2692f4a694
  1. 2
      README.developers
  2. 4
      debian/changelog
  3. 2
      debian/install-sed
  4. 2
      debian/rules
  5. 6
      handle_bugscript

2
README.developers

@ -48,7 +48,7 @@ submitted to (i.e. the Package: field of the report). This will be mainly
used to redirect bugs in packages coming from a single source to where the
maintainer likes to have them.
This is done by having this line in /usr/share/bug/$package/control
Submit-As: $new-package
Note that bug will not check if the $new-package exists as a valid package.

4
debian/changelog

@ -2,6 +2,10 @@ reportbug (2.63) unstable; urgency=low
* Refactor email and signing code into a separate module. Thanks to Ha
Shao for doing most of the work.
* Submit-As headers are now treated as a special case of Report-With.
(Closes: #257546)
* reportbug_ui_text.ewrite() now flushes output. (Closes: #257534)
* Make things more POSIXly-sound. (Closes: #256101)
--

2
debian/install-sed

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
dir=$1
shift

2
debian/rules

@ -33,7 +33,7 @@ install-stamp: build-stamp
dh_clean -k
dh_installdirs
@echo "s/##VERSION##/`head -1 debian/changelog | sed -e 's/[^(]*(\([^)]*\).*/\1/'`/g" > sed-script
@echo "s/##VERSION##/`head -n 1 debian/changelog | sed -e 's/[^(]*(\([^)]*\).*/\1/'`/g" > sed-script
cat sed-script
# Add here commands to install the package into debian/reportbug.

6
handle_bugscript

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Adapted from bits and pieces of /usr/bin/bug, to provide the functions
# that package says are permitted.
@ -37,13 +37,13 @@ yesno()
getkey
# if 'n'
if [ "$KEY" = "${YESNO:2:1}" -o "$KEY" = "${YESNO:3:1}" ]; then
if [ "$KEY" = "${YESNO:2:1}" ] || [ "$KEY" = "${YESNO:3:1}" ]; then
REPLY=nop
return
fi
# if 'y'
if [ "$KEY" = "${YESNO:0:1}" -o "$KEY" = "${YESNO:1:1}" ]; then
if [ "$KEY" = "${YESNO:0:1}" ] || [ "$KEY" = "${YESNO:1:1}" ]; then
REPLY=yep
return
fi

Loading…
Cancel
Save