Skip to content

Commit 23f20c7

Browse files
committed
build.sh: fix bad substitution issue
1 parent f2a5a4f commit 23f20c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ main() {
148148
# Clone the repository with specified commit
149149
git clone https://github.com/RIOT-OS/RIOT.git ${repo_dir}
150150
git -C ${repo_dir} checkout ${CI_BUILD_COMMIT}
151-
elif [ -n "${${CI_PULL_COMMIT}}" ]; then
152-
151+
elif [ -n "${CI_PULL_COMMIT}" ]; then
153152
echo "-- github reports HEAD of ${CI_BASE_BRANCH} as $CI_BASE_COMMIT"
154153

155154
local actual_base_head="$(gethead ${CI_BASE_REPO} ${CI_BASE_BRANCH})"

0 commit comments

Comments
 (0)