Skip to content

Commit

Permalink
First remove .gitconfig before generating
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Dec 16, 2023
1 parent 6ca47bb commit f16a633
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/singularity_cmd
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ mkdir -p "$tmpdir/tmp"
info "created temp dir $tmpdir"
trap 'rm -fr "$tmpdir" && info "removed temp dir $tmpdir"' exit

# We start anew since we use --add to support multi-value entries
if [ -e "$BHOME/.gitconfig" ]; then
rm -f "$BHOME/.gitconfig"
fi
pass_git_config "user.name" "ReproNim User"
pass_git_config "user.email" "[email protected]"
# only if set - pass pidlock so we could operate on NFS mounts, like on rolando
Expand Down

0 comments on commit f16a633

Please sign in to comment.