Project

General

Profile

« Previous | Next » 

Revision f19483bc

Added by Lukas Zapletal about 10 years ago

fixes #5401 - fixed foreman-debug tarball creation including '.'

(cherry picked from commit 30f3f8d7bfb32301144be156d2b35c1467083054)

View differences:

script/foreman-debug
if [ "$NOTAR" -eq 0 ]; then
pushd "$DIR" >/dev/null
tar -c . 2>/dev/null | $COMPRESS > "$TARBALL"
tar -c * 2>/dev/null | $COMPRESS > "$TARBALL"
popd >/dev/null
qprintf "%s: %s\n\n" "A debug file has been created" "$TARBALL ($(stat -c %s "$TARBALL") bytes)"
else

Also available in: Unified diff