=== modified file 'bin/fsb' --- bin/fsb 2013-05-22 16:39:56 +0000 +++ bin/fsb 2013-05-22 16:29:34 +0000 @@ -140,7 +140,6 @@ ) typeset -g $info_vars - [[ -n $fsb_targets[$1] ]] || die "no such target: ${(q)fsb_targets[$1]}" $fsb_targets[$1] info || die "$1 info failed" if ((${FSB_INFO_SKIP:-0})); then target_info $FSB_INFO_DEPEND @@ -159,7 +158,6 @@ : ${info[DIR]:=%s} if [[ $info[BASE] == *'%s'* ]]; then - [[ -n $info[DEPEND] ]] || die "target $1 does use %s in BASE and does not depend on another target" target_info $info[DEPEND] build_dir_base=${${info[BASE]}/%s/${build_dir_base}} info[DIR]=${${info[DIR]}/%s/${build_dir_base}} @@ -171,9 +169,7 @@ build_dir_check ${info[DIR]} $1 local ret=$? if (( $ret == 100 )) ; then - if [[ -n $info[DEPEND] ]]; then - target_info $info[DEPEND] || die "target_info on ${(q)info[DEPEND]} failed" - fi + target_info $info[DEPEND] elif (( $ret )) ; then die "build_dir_check failed" fi