=== modified file 'common.zsh' --- common.zsh 2017-12-07 19:20:41 +0000 +++ common.zsh 2017-12-06 19:34:01 +0000 @@ -7,7 +7,7 @@ BASE=$2 OUT=$3 FUNCDIR=${0:h:a}/functions -TARGET=${BASE##*/}.${${${DO:t}%.do}#default.} +TARGET=$BASE:t.${${${DO:t}%.do}#default.} # helper that prints out error message and exits die() { === modified file 'functions/clone-depend-if-changed' --- functions/clone-depend-if-changed 2017-12-07 19:20:41 +0000 +++ functions/clone-depend-if-changed 2017-12-01 17:53:54 +0000 @@ -7,7 +7,7 @@ local -a mount_opts mount_opts=( - lowerdir=${${vars[source_dir]:A}//=/\\=} + lowerdir=${${vars[build_dir]:A}//=/\\=} upperdir=${${vars[changes_dir]:A}//=/\\=} workdir=${${vars[work_dir]:A}//=/\\=} )