install: if config was found with other repourl as the user specified, use users repourl for configure call
This commit is contained in:
@@ -408,7 +408,13 @@ if [[ -n "$EXISTING_OEMDRV_DEV" ]]; then
|
|||||||
|| die "git fetch failed."
|
|| die "git fetch failed."
|
||||||
git -C "$MOUNT_POINT" checkout -B "$REPO_BRANCH" FETCH_HEAD \
|
git -C "$MOUNT_POINT" checkout -B "$REPO_BRANCH" FETCH_HEAD \
|
||||||
|| die "git checkout failed."
|
|| die "git checkout failed."
|
||||||
|
#Backup Repovalues if the config was read from existing config with production values and we configured
|
||||||
|
#devel values above
|
||||||
|
BACK_REPO_URL="$REPO_URL"
|
||||||
|
BACK_REPO_BRANCH="$REPO_BRANCH"
|
||||||
source "$MOUNT_POINT/system_setup/setup_system.inc.sh" --missingconfok
|
source "$MOUNT_POINT/system_setup/setup_system.inc.sh" --missingconfok
|
||||||
|
export REPO_URL="$EXIST_URL"
|
||||||
|
export REPO_BRANCH="$BACK_REPO_BRANCH"
|
||||||
finish_install "$EXISTING_OEMDRV_DEV"
|
finish_install "$EXISTING_OEMDRV_DEV"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user