Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions script/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ if [[ "$GCM_VERSION" && "$GCM_URL" ]]; then
COMPUTED_SHA256=$(compute_checksum $GCM_FILE)
if [ "$COMPUTED_SHA256" = "$GCM_CHECKSUM" ]; then
echo "GCM: checksums match"
SUBFOLDER="$DESTINATION/libexec/git-core"
SUBFOLDER="$DESTINATION/bin"
tar -xvkf $GCM_FILE -C "$SUBFOLDER"

if [[ ! -f "$SUBFOLDER/git-credential-manager" ]]; then
echo "After extracting GCM the file was not found under libexec/git-core/"
echo "After extracting GCM the file was not found under bin/"
echo "aborting..."
exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions script/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ if [[ "$GCM_VERSION" && "$GCM_URL" ]]; then
COMPUTED_SHA256=$(compute_checksum $GCM_FILE)
if [ "$COMPUTED_SHA256" = "$GCM_CHECKSUM" ]; then
echo "GCM: checksums match"
SUBFOLDER="$DESTINATION/libexec/git-core"
SUBFOLDER="$DESTINATION/bin"
tar -xvkf $GCM_FILE -C "$SUBFOLDER"

if [[ ! -f "$SUBFOLDER/git-credential-manager" ]]; then
echo "After extracting GCM the file was not found under libexec/git-core/"
echo "After extracting GCM the file was not found under bin/"
echo "aborting..."
exit 1
fi
Expand Down