diff options
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/common-functions b/lib/common-functions index 80f252c..26151d1 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -15,14 +15,16 @@ if [ -z "${base_dir}" ]; then . 'conf/default.conf' fi -{ - printf 'sourcing common-functions for %s\n' "$0" - printf '%s parameters:' "$#" - printf ' "%s"' "$@" - printf '\n' -} >> \ - "${work_dir}/command-log" - +if [ ! -s "${work_dir}/build-master-sanity" ]; then + { + date + printf 'sourcing common-functions for %s\n' "$0" + printf '%s parameters:' "$#" + printf ' "%s"' "$@" + printf '\n' + } >> \ + "${work_dir}/command-log" +fi # find_pkgbuilds package repository git_repository git_revision mod_git_revision # find the PKGBUILD and modification of $package from $repository |