mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Disable Git interactive auth when fetching deps (#298)
This commit is contained in:
parent
771483d324
commit
87c5232ba5
@ -17,7 +17,8 @@ clone() {
|
|||||||
if [ -n "$branch" ]
|
if [ -n "$branch" ]
|
||||||
then
|
then
|
||||||
echo "Trying to use $org/$repo#$branch"
|
echo "Trying to use $org/$repo#$branch"
|
||||||
git clone https://github.com/$org/$repo.git $repo --branch "$branch" --depth 1 && exit 0
|
# Disable auth prompts: https://serverfault.com/a/665959
|
||||||
|
GIT_TERMINAL_PROMPT=0 git clone https://github.com/$org/$repo.git $repo --branch "$branch" --depth 1 && exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user