diff options
-rwxr-xr-x | bin/patch-wrapper.in | 20 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | quilt.changes | 6 |
3 files changed, 21 insertions, 9 deletions
diff --git a/bin/patch-wrapper.in b/bin/patch-wrapper.in index 099feff..e992448 100755 --- a/bin/patch-wrapper.in +++ b/bin/patch-wrapper.in @@ -83,10 +83,15 @@ options=`getopt -q -o bsB:z:i:p:d: \ if [ $? -ne 0 ] then cannot_handle=1 -elif [[ ! ${LC_ALL:-${LC_MESSAGES:-${LANG}}} =~ "^$|^C$|^POSIX$|^en" ]] -then - cannot_handle=1 else + case "${LC_ALL:-${LC_MESSAGES:-${LANG}}}" in + ''|C|POSIX|en*) + ;; + *) cannot_handle=1 + ;; + esac +fi +if [ -z "$cannot_handle" ]; then eval set -- "$options" backup_mode=--backup-if-mismatch @@ -169,10 +174,11 @@ then elif [ -e /proc/self/fd/0 ] then patch=$(readlink /proc/self/fd/0) - if [[ "$patch" =~ "^pipe:" ]] - then - patch=$(find_pipe_patch "$patch") - fi + case "$patch" in + pipe:*) + patch=$(find_pipe_patch "$patch") + ;; + esac fi patch=${patch#$PWD/} diff --git a/configure.ac b/configure.ac index accdb80..e54b74e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([quilt],[0.43],[quilt-dev@nongnu.org]) +AC_INIT([quilt],[0.44],[quilt-dev@nongnu.org]) AC_CONFIG_AUX_DIR(config) AC_PREREQ(2.53) -AC_REVISION ($Revision: 1.74 $) +AC_REVISION ($Revision: 1.75 $) PACKAGE_RELEASE=1 AC_SUBST(PACKAGE_RELEASE) diff --git a/quilt.changes b/quilt.changes index e6cca98..3faf678 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Feb 14 23:58:22 CET 2006 - agruen@suse.de + +- Stop using bash's =~ operator: older versions don't support it. +- Bump version to 0.44. + +------------------------------------------------------------------- Tue Feb 14 19:30:02 CET 2006 - khali@linux-fr.org - po/fr.po: French translation update. |