From 59eab8b5643feed4500dc12100db3d1e54f17c1a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 3 Mar 2013 09:01:52 -0500 Subject: [PATCH] cp-po: Test for qualified file existence when parsing -L option --- cp-po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cp-po b/cp-po index e6abb68..6f97dc4 100755 --- a/cp-po +++ b/cp-po @@ -53,7 +53,7 @@ while true; do -f) force=true; shift;; -g) git_mode=true; update_target_tree=true; shift;; -k) adjustcvskeywords=false; shift;; - -L) qualfile=$2; shift; shift;; + -L) qualfile=$2; test -e "$qualfile"; shift; shift;; -n) run=false; shift;; -u) update_target_tree=true; shift;; --) shift; break;; -- 2.39.5