summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-02-14 23:06:56 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-02-14 23:06:56 +0000
commit37f6da0fe90ffdb819f16cd9dadde6fe4d15bd7f (patch)
treebffc7ab576b4884ff1555557da1f33746a9e37af
parent3b729d83ddb6b15164391779d6373941ff8d1b72 (diff)
downloadquilt-37f6da0fe90ffdb819f16cd9dadde6fe4d15bd7f.tar.gz
- Stop using bash's =~ operator: older versions don't support it.v0.44
- Bump version to 0.44.
-rwxr-xr-xbin/patch-wrapper.in20
-rw-r--r--configure.ac4
-rw-r--r--quilt.changes6
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.