From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3457 invoked from network); 3 Sep 2000 20:19:34 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Sep 2000 20:19:34 -0000 Received: (qmail 24371 invoked by alias); 3 Sep 2000 20:19:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12726 Received: (qmail 24364 invoked from network); 3 Sep 2000 20:19:11 -0000 From: "Bart Schaefer" Message-Id: <1000903201905.ZM30766@candle.brasslantern.com> Date: Sun, 3 Sep 2000 20:19:05 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: PATCH: Tiny fix to zrecompile MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii The -p option didn't work properly when the first word after it was an option for the zcompile command; getopts would fail with "bad option". Index: Functions/Misc/zrecompile =================================================================== @@ -37,7 +37,7 @@ local opt check quiet zwc files re file pre ret map tmp mesg pats -while getopts "tqp" opt; do +while getopts ":tqp" opt; do case $opt in t) check=yes ;; q) quiet=yes ;; -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net