#!/bin/zsh DO=$0 main() { args build_dir! fstab= filename=$DO:h/work/$TARGET.squash options= eval $(getvars) fstab-mounted dep_add_dir_mtimes $build_dir redo-always # We don't have a check to tell if the source dir is unchanged mksquashfs $build_dir $filename -noappend $=options || die dep_add_file $filename } . ./common.zsh # vim: fileencoding=utf8 ft=zsh noet sw=4 ts=4 sts=4