mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamPackSource: moved back to bin so can be used externally
This commit is contained in:
@ -105,7 +105,7 @@ echo $timeStamp 2>/dev/null > $packDir/.timeStamp
|
|||||||
if [ "$nogit" = true ]
|
if [ "$nogit" = true ]
|
||||||
then
|
then
|
||||||
echo "pack manually" 1>&2
|
echo "pack manually" 1>&2
|
||||||
$toolsDir/foamPackSource $packDir $packFile
|
foamPackSource $packDir $packFile
|
||||||
else
|
else
|
||||||
echo "pack with git-archive" 1>&2
|
echo "pack with git-archive" 1>&2
|
||||||
( cd $packDir && git archive --format=tar --prefix=$packDir/ HEAD) > $packBase.tar
|
( cd $packDir && git archive --format=tar --prefix=$packDir/ HEAD) > $packBase.tar
|
||||||
|
|||||||
@ -101,6 +101,6 @@ fi
|
|||||||
# add time-stamp file before packing
|
# add time-stamp file before packing
|
||||||
echo $timeStamp 2>/dev/null > $packDir/.timeStamp
|
echo $timeStamp 2>/dev/null > $packDir/.timeStamp
|
||||||
echo "pack manually" 1>&2
|
echo "pack manually" 1>&2
|
||||||
$toolsDir/foamPackSource $packDir $packFile
|
foamPackSource $packDir $packFile
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user