check-changes revision ea94d370123a5892f6c47a97f21d1b28d44bb168
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Copyright (C) 2002 Internet Software Consortium.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Permission to use, copy, modify, and/or distribute this software for any
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# purpose with or without fee is hereby granted, provided that the above
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# copyright notice and this permission notice appear in all copies.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrewseval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews # this emulates #! processing on NIH machines.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews # (remove #! line above if indigestible)
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrewseval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift;
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews # process any FOO=bar switches
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews if ($Fld1 =~ /^[1-9][0-9]*\.$/ && $Fld2 =~ /^\[.*\]$/) {