Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
3a658409
Commit
3a658409
authored
5 years ago
by
Mark OLESEN
Committed by
Andrew Heather
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
CONFIG: set umask 0022 when packing tar files for release
parent
1b270822
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/tools/foamPackRelease
+4
-3
4 additions, 3 deletions
bin/tools/foamPackRelease
with
4 additions
and
3 deletions
bin/tools/foamPackRelease
+
4
−
3
View file @
3a658409
...
@@ -211,8 +211,9 @@ echo "tarName=\""$tarName"\""
...
@@ -211,8 +211,9 @@ echo "tarName=\""$tarName"\""
# Note - directory separator '/' encoded as '@' for manifest name
# Note - directory separator '/' encoded as '@' for manifest name
echo
"manifest=
\"
"
${
dirPrefix
}
"@META-INFO@"
manifest.txt
"
\"
"
echo
"manifest=
\"
"
${
dirPrefix
}
"@META-INFO@"
manifest.txt
"
\"
"
echo
echo
echo
"set -x"
echo
'set -x'
echo
'git archive --format=tar --prefix="$dirPrefix/" -o "$outputDir/$tarName.tar" "$head"'
echo
'umask 0022'
echo
'git -c tar.umask=user archive --format=tar --prefix="$dirPrefix/" -o "$outputDir/$tarName.tar" "$head"'
echo
'echo "api=$api" > "$outputDir/$manifest"'
echo
'echo "api=$api" > "$outputDir/$manifest"'
echo
'echo "patch=$patch" >> "$outputDir/$manifest"'
echo
'echo "patch=$patch" >> "$outputDir/$manifest"'
...
@@ -237,7 +238,7 @@ then
...
@@ -237,7 +238,7 @@ then
echo
echo
echo
'pushd "$module"'
echo
'pushd "$module"'
echo
'git archive --format=tar --prefix="$dirPrefix/$module/" -o "$outputDir/$tarModule.tar" "$commit"'
echo
'git
-c tar.umask=user
archive --format=tar --prefix="$dirPrefix/$module/" -o "$outputDir/$tarModule.tar" "$commit"'
echo
'git ls-tree -r "$commit" >> "$outputDir/$manifest"'
echo
'git ls-tree -r "$commit" >> "$outputDir/$manifest"'
echo
'echo >> "$outputDir/$manifest"'
echo
'echo >> "$outputDir/$manifest"'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment