From 0eae506a34b38b61c75a4f6970e32f58935f5e2f Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 3 Oct 2024 00:19:38 +0700 Subject: [PATCH] build_gitea: fix: proper link directory --- build_gitea/Linux/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_gitea/Linux/build.sh b/build_gitea/Linux/build.sh index 865d30f..25284e3 100644 --- a/build_gitea/Linux/build.sh +++ b/build_gitea/Linux/build.sh @@ -89,15 +89,15 @@ case $os in apk add nodejs # NodeJS broken when install from binary ;; * ) - wget https://nodejs.org/dist/$NODEJS_VERSION/node-$NODEJS_VERSION-$DISTRO.tar.xz - tar -xJvf node-$NODEJS_VERSION-$DISTRO.tar.xz -C $MAKE_DIR + wget https://nodejs.org/dist/$NODEJS_VERSION/node-$NODEJS_VERSION-$DISTRO.tar.xz -O $DESTINATION/node-$NODEJS_VERSION-$DISTRO.tar.xz + tar -xJvf $DESTINATION/node-$NODEJS_VERSION-$DISTRO.tar.xz -C $MAKE_DIR export PATH=$PATH:$DESTINATION/node-$NODEJS_VERSION-$DISTRO/bin ;; esac # Golang -wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz -tar -C $MAKE_DIR -xJvf go$GO_VERSION.linux-amd64.tar.gz +wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz -O $DESTINATION/go$GO_VERSION.linux-amd64.tar.gz +tar -C $DESTINATION -xJvf $DESTINATION/go$GO_VERSION.linux-amd64.tar.gz export PATH=$PATH:$DESTINATION/go/bin # Gitea