author | Tero Marttila <terom@paivola.fi> |
Mon, 02 Mar 2015 00:15:17 +0200 | |
changeset 674 | a5b712cd0273 |
parent 673 | 0eda16e29613 |
child 675 | f1335a4301d0 |
lib/pvl/apply.sh | file | annotate | diff | comparison | revisions |
--- a/lib/pvl/apply.sh Mon Mar 02 00:11:43 2015 +0200 +++ b/lib/pvl/apply.sh Mon Mar 02 00:15:17 2015 +0200 @@ -3,6 +3,7 @@ apply_GETOPTS='pFn' APPLY= +APPLY_FORCE= APPLY_DIFF= function apply_help { @@ -20,7 +21,7 @@ case $opt in p) APPLY_DIFF=1 ;; - F) APPLY=1 ;; + F) APPLY_FORCE=1 ;; n) APPLY=0 @@ -54,7 +55,7 @@ debug " update: dest missing" return 2 - elif [ "$APPLY" = 1 ]; then + elif [ "$APPLY_FORCE" = 1 ]; then debug " update: forced" return 2 fi