freebsd-ports/misc/amanda-server/files/patch-chg-zd-mtx.sh.in
Jun Kuriyama c9a8af1cea - Grab maintainership.
- Upgrade to 2.4.5p1.
- Add WITH_AMANDA_DUMP_SNAPSHOT knob to use "dump -L" to take a dump.
- Add a patch to fix expr(1) argument problem for chg-zd-mtx.sh script.
- Shorten long Makefile by collect common options/variables to one
  common place.
2006-03-22 03:56:12 +00:00

11 lines
326 B
Bash

--- changer-src/chg-zd-mtx.sh.in.orig Wed Feb 9 21:58:30 2005
+++ changer-src/chg-zd-mtx.sh.in Wed Feb 9 21:58:49 2005
@@ -413,7 +413,7 @@
IsNumeric() {
test -z "$1" && return 1
- x="`expr "$1" : '\([-0-9][0-9]*\)' 2>/dev/null`"
+ x="`expr -- "$1" : "\([-0-9][0-9]*\)" 2>/dev/null`"
return `expr X"$1" != X"$x"`
}