Skip to content

Commit

Permalink
fix overlays pull
Browse files Browse the repository at this point in the history
Also removes spaces from variables

Signed-off-by: Marcel <[email protected]>
  • Loading branch information
Styne13 committed Dec 5, 2023
1 parent 92166dd commit 50f73ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ $(ALPINE_ARCHIVE):
$(OVERLAYS_DIR)/.git/info/sparse-checkout: | $(SOURCE_DIR)/
@mkdir -p $(OVERLAYS_DIR)/.git/info
@git -C $(OVERLAYS_DIR) init
@git -C $(OVERLAYS_DIR) remote add -f origin git://$(OVERLAYS_SOURCE)
@git -C $(OVERLAYS_DIR) remote add -f origin https://$(OVERLAYS_SOURCE)
@git -C $(OVERLAYS_DIR) config core.sparseCheckout true
@echo "sun8i-h3/" >> $(OVERLAYS_DIR)/.git/info/sparse-checkout

Expand Down
6 changes: 3 additions & 3 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ fi

if [[ -z "${LINUX_TAG}" ]]; then
#using github linux-stable mirror
LINUX_TAG=$(python3 -m lastversion --format tag --major "${LINUX_LTS}" gregkh/linux)
LINUX_TAG=$(python3 -m lastversion --format tag --major "${LINUX_LTS}" gregkh/linux | tr -d '[:blank:]')
fi

if [[ -z "${UBOOT_TAG}" ]]; then
UBOOT_TAG=$(python3 -m lastversion --format tag u-boot/u-boot)
UBOOT_TAG=$(python3 -m lastversion --format tag u-boot/u-boot | tr -d '[:blank:]')
fi

if [[ -z "${ALPINE_VERSION}" ]]; then
ALPINE_VERSION=$(python3 -m lastversion --format tag alpine)
ALPINE_VERSION=$(python3 -m lastversion --format tag alpine | tr -d '[:blank:]')
fi

#clone and switch to project directory
Expand Down

0 comments on commit 50f73ac

Please sign in to comment.