From 47ce072a733f1e4afb93c57e65a22ff9a3fa58d2 Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@Germany> Date: Fri, 23 May 2008 16:25:06 +0200 Subject: [PATCH] Ignore .git directory when packing --- bin/foamDiffSourceList | 1 + bin/foamPack | 1 + bin/foamPackSource | 1 + 3 files changed, 3 insertions(+) diff --git a/bin/foamDiffSourceList b/bin/foamDiffSourceList index b7135738909..104a322bdc9 100755 --- a/bin/foamDiffSourceList +++ b/bin/foamDiffSourceList @@ -83,6 +83,7 @@ find -H $newDir \ -a ! -name "core.[1-9]*" \ -a ! -name "log[0-9]*" \ | sed \ + -e "\@$newDir/.git/@d" \ -e "\@$newDir/lib/@d" \ -e "\@$newDir/src/other/mico-*/platforms@d" \ -e "\@$newDir/src/other/mpich-*/platforms@d" \ diff --git a/bin/foamPack b/bin/foamPack index 5122b252afb..fcf6df3d81f 100755 --- a/bin/foamPack +++ b/bin/foamPack @@ -85,6 +85,7 @@ find -H $packDir \ -a ! -name "log[0-9]*" \ -a ! -name "so_locations" \ | sed \ + -e "\@$packDir/.git/@d" \ -e "\@$packDir/lib/@d" \ -e "\@$packDir/src/other/mico-*/platforms@d" \ -e "\@$packDir/src/other/mpich-*/platforms@d" \ diff --git a/bin/foamPackSource b/bin/foamPackSource index 9e1141972e3..3fa602cf1bd 100755 --- a/bin/foamPackSource +++ b/bin/foamPackSource @@ -74,6 +74,7 @@ find -H $packDir \ -a ! -name "core.[1-9]*" \ -a ! -name "log[0-9]*" \ | sed \ + -e "\@$packDir/.git/@d" \ -e "\@$packDir/lib/@d" \ -e "\@$packDir/src/other/mico-*/platforms@d" \ -e "\@$packDir/src/other/mpich-*/platforms@d" \ -- GitLab