diff --git a/.ci/build_pkgs.sh b/.ci/build_pkgs.sh index 5effea1..c210f4c 100644 --- a/.ci/build_pkgs.sh +++ b/.ci/build_pkgs.sh @@ -1,5 +1,6 @@ -cd /builds/$CI_PROJECT_PATH/wireless/ -PKGS=$(ls) +OPWD=$PWD + +PKGS=$(ls wireless/) cd tmp/build_dir @@ -31,4 +32,6 @@ done for PKG in $PKGS ; do echo "===+ Building: $PKG" make "package/$PKG/compile" -j3 V=s -done \ No newline at end of file +done + +cd $OPWD \ No newline at end of file diff --git a/.ci/download_sdk.sh b/.ci/download_sdk.sh index 9ec8675..bd9377d 100644 --- a/.ci/download_sdk.sh +++ b/.ci/download_sdk.sh @@ -1,3 +1,5 @@ +OPWD=$PWD + mkdir tmp/sdk cd tmp/sdk @@ -5,4 +7,6 @@ curl "https://$SDK_HOST/$SDK_PATH/sha256sums" -sS -o sha256sums curl "https://$SDK_HOST/$SDK_PATH/sha256sums.asc" -sS -o sha256sums.asc gpg --with-fingerprint --verify sha256sums.asc sha256sums rsync -av "$SDK_HOST::downloads/$SDK_PATH/$SDK_FILE" . -sha256sum -c --ignore-missing sha256sums \ No newline at end of file +sha256sum -c --ignore-missing sha256sums + +cd $OPWD \ No newline at end of file diff --git a/.ci/prepare_build_dir.sh b/.ci/prepare_build_dir.sh index 159491e..4d4efae 100644 --- a/.ci/prepare_build_dir.sh +++ b/.ci/prepare_build_dir.sh @@ -1,3 +1,4 @@ +OPWD=$PWD mkdir tmp/build_dir cd tmp/build_dir @@ -19,4 +20,6 @@ cat feeds.conf ./scripts/feeds install -a > /dev/null make defconfig > /dev/null -sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config \ No newline at end of file +sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config + +cd $OPWD \ No newline at end of file