Skip to content

Commit

Permalink
don't ask for git credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
whrvt committed Sep 20, 2024
1 parent 4415536 commit 9d8ff93
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ _repo_updater() {

cd "${repo_path}" || _failure "Couldn't change directory to ${repo_path}."

# set a fake git config so it's not prompted
git config commit.gpgsign false &>/dev/null || true
git config user.email "[email protected]" &>/dev/null || true
git config user.name "umubuilder" &>/dev/null || true

git fetch --depth 1 origin

local target_ref="${specific_ref:-origin/HEAD}"
Expand Down Expand Up @@ -283,7 +288,7 @@ _failure() {
exit 1
}
_help() {
_message "./setup.sh [help] [buildonly] [cleanbuild] [bundle-umu]"
_message "./setup.sh [help] [buildonly] [cleanbuild] [no-bundle-umu]"
echo ""
_message "No arguments grabs sources, patches, builds, and installs"
_message " Adding 'buildonly' will only build without installing to the steam compatibility tools directory"
Expand Down

0 comments on commit 9d8ff93

Please sign in to comment.