diff options
Diffstat (limited to 'builder')
-rwxr-xr-x | builder/modules.d/conf-tgz/hooks/unpack-config-tgz.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/conf-tgz/hooks/unpack-config-tgz.sh b/builder/modules.d/conf-tgz/hooks/unpack-config-tgz.sh index 86692fd2..a2d550ce 100755 --- a/builder/modules.d/conf-tgz/hooks/unpack-config-tgz.sh +++ b/builder/modules.d/conf-tgz/hooks/unpack-config-tgz.sh @@ -12,7 +12,7 @@ tarcopy() { cd "$1" local filelist="$(mktemp)" find . \! -type d > "$filelist" - tar -c -p -T /tmp/tctmp | tar -xp -C "$2" + tar -c -p -T "$filelist" | tar -xp -C "$2" rm -f -- "$filelist" cd - &>/dev/null } |