=== modified file 'bin/fsb' --- bin/fsb 2013-05-14 07:29:07 +0000 +++ bin/fsb 2013-05-14 07:26:08 +0000 @@ -100,7 +100,7 @@ local name=${2#fsb_target_} [[ -a $1 ]] || return 100 # does not exist, proceed building [[ -d $1 ]] || die "$1 is not a directory, required by target $2" - if [[ -f $1/.fsb_done ]] && grep -qFe $name $1/.fsb_done; then + if [[ -f $1/.fsb_done ]] && grep -qFe $name $1; then [[ $1:a == $build_dir:a ]] || build_dir_push $1 return 0 # target already completed in this directory fi === modified file 'functions/fsb_stage_remove_btrfs' --- functions/fsb_stage_remove_btrfs 2013-05-14 07:29:07 +0000 +++ functions/fsb_stage_remove_btrfs 2013-05-13 22:55:00 +0000 @@ -1,5 +1,5 @@ [[ $# -ne 1 ]] && \ die "usage: $0 " -[[ -d $1 ]] || \ +[[ -d $1 ]] && \ die "$1 is not a directory" btrfs subvolume delete $1 || die "btrfs subvolume delete failed"