Add debugging log.

This commit is contained in:
redxef 2022-11-21 18:51:34 +01:00
parent d5b4e5184a
commit a9b26221ec
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921
2 changed files with 5 additions and 0 deletions

3
src/in
View file

@ -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"

View file

@ -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)"