fileset

git mirror of https://ccx.te2000.cz/bzr/fileset
git clone https://ccx.te2000.cz/git/fileset
Log | Files | Refs | README

commit f4e6d8e11e12d7741d79463c81fb09508ba8029b
parent 495a8f55773398deff638fa6ca05f6d039dd2cc4
Author: Jan Pobrislo <ccx@wpr.cz>
Date:   Thu, 10 Dec 2015 00:31:28 +0100

pass the arguments to do_* functions, fix check for r
Diffstat:
Mbin/fileset_inc.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/fileset_inc.sh b/bin/fileset_inc.sh @@ -51,7 +51,7 @@ req() { if $check_only; then die "check failed on '$fname': $* ($(print_flags))" else - "do_$1" || die "action failed on '$fname': $* ($(print_flags))" + "do_$@" || die "action failed on '$fname': $* ($(print_flags))" check_only=true req "$@" check_only=false @@ -117,7 +117,7 @@ l() { check_r() { - test -e "$fname" -o -L "$fname" + ! test -e "$fname" -o -L "$fname" } do_r() {