From a9b26221ec2766ce3e8fa3f7930411812c22a814 Mon Sep 17 00:00:00 2001 From: redxef Date: Mon, 21 Nov 2022 18:51:34 +0100 Subject: [PATCH] Add debugging log. --- src/in | 3 +++ src/out | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/in b/src/in index 0fd40f1..06db90b 100755 --- a/src/in +++ b/src/in @@ -16,6 +16,9 @@ if [ "$computed_version" != "$VERSION" ]; then fi script="$(envsubst "$(< scripts/get_files.vars)" < "scripts/get_files.sh")" +echo "tar c script:" >&2 +echo "$script" >&2 + if [ -n "$FILES" ]; then ( cd "$1" diff --git a/src/out b/src/out index a5dc4dc..184767a 100755 --- a/src/out +++ b/src/out @@ -10,6 +10,8 @@ if [ -z "$FILES" ]; then extract=false fi script="$(EXTRACT="$extract" envsubst "$(< scripts/put_files.vars)" < scripts/put_files.sh)" +echo "tar x script:" >&2 +echo "$script" >&2 ( cd "$1" pipe="$(tmpname)"