diff --git a/bin/tools/foamPackRelease b/bin/tools/foamPackRelease index 761137049e94789760954fb5b0f326ce29319bfb..e380e790c0c8c6327cb37545b9b2801d4de04a8b 100755 --- a/bin/tools/foamPackRelease +++ b/bin/tools/foamPackRelease @@ -296,6 +296,7 @@ case "$compress" in (tgz) echo "Using gzip compression with tgz ending" 1>&2 echo 'gzip -c -9 "$outputDir/$tarName.tar" > "$outputDir/$tarName.tgz"' + echo 'rm -f "$outputDir/$tarName.tar"' ;; (bz | bzip | bzip2)