Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-26 09:00:53 +0100
committerErich Eckner <git@eckner.net>2018-02-26 09:00:53 +0100
commit45e7f08ab436087414ba10c862d5f8a59b516d03 (patch)
tree0c06ee1e8488f22010fc37ed101fdcfc30876fc5 /lib
parentd9a9ab193a00123d5839505ddfe1563c2286bb9f (diff)
lib/common-functions: save log of executed scripts - for debugging mysterious errors :-)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index a84271b..80f252c 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -15,6 +15,15 @@ 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"
+
+
# find_pkgbuilds package repository git_repository git_revision mod_git_revision
# find the PKGBUILD and modification of $package from $repository
# sets $PKGBUILD and $PKGBUILD_mod