Skip to content

Commit

Permalink
fixup! build: Add privateremote helper
Browse files Browse the repository at this point in the history
Change-Id: I09c52df9e9dc7c5a825e641d6299581432591920
  • Loading branch information
mikeNG committed Dec 20, 2024
1 parent e73fac8 commit 5bbc612
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,7 @@ function privateremote()
return 1
fi
git remote rm private 2> /dev/null
local REMOTE=$(git config --get remote.github.projectname)

local PROJECT=$(echo $REMOTE | sed -e "s#https://github.com/##g")
local PROJECT=$(git config --get remote.github.projectname)

git remote add private [email protected]:$PROJECT.git
echo "Remote 'private' created"
Expand Down

0 comments on commit 5bbc612

Please sign in to comment.