ENH: add -current option to foamPackBin, foamPackMake

- reduces typing
This commit is contained in:
Mark Olesen
2011-02-15 10:08:46 +01:00
parent cf65eebcd5
commit 449a0e253d
6 changed files with 48 additions and 26 deletions

View File

@ -84,9 +84,9 @@ trap 'rm -f $packFile $tmpFile 2>/dev/null' INT
tar cpzf $packFile --files-from $tmpFile
if [ $? -eq 0 ]
then
echo "Finished packing $packDir into file $packFile" 1>&2
echo "Finished packing $packDir into $packFile" 1>&2
else
echo "Error: failure packing $packDir into file $packFile" 1>&2
echo "Error: failure packing $packDir into $packFile" 1>&2
rm -f $packFile 2>/dev/null
fi