Windows: the "nim" symlinks lacked a suffix
This commit is contained in:
parent
47b4317888
commit
38e81f10d3
|
@ -81,8 +81,8 @@ nim_needs_rebuilding() {
|
||||||
return $NO_REBUILD
|
return $NO_REBUILD
|
||||||
elif [[ -e "${NIM_DIR}/bin/nim_commit_${NIM_COMMIT_HASH}" ]]; then
|
elif [[ -e "${NIM_DIR}/bin/nim_commit_${NIM_COMMIT_HASH}" ]]; then
|
||||||
# we built the requested commit in the past, so we simply reuse it
|
# we built the requested commit in the past, so we simply reuse it
|
||||||
rm -f "${NIM_DIR}/bin/nim"
|
rm -f "${NIM_DIR}/bin/nim${EXE_SUFFIX}"
|
||||||
ln -s "nim_commit_${NIM_COMMIT_HASH}" "${NIM_DIR}/bin/nim"
|
ln -s "nim_commit_${NIM_COMMIT_HASH}" "${NIM_DIR}/bin/nim${EXE_SUFFIX}"
|
||||||
return $NO_REBUILD
|
return $NO_REBUILD
|
||||||
else
|
else
|
||||||
return $REBUILD
|
return $REBUILD
|
||||||
|
@ -203,7 +203,7 @@ build_nim() {
|
||||||
|
|
||||||
# create the symlink
|
# create the symlink
|
||||||
mv bin/nim bin/nim_commit_${NIM_COMMIT_HASH}
|
mv bin/nim bin/nim_commit_${NIM_COMMIT_HASH}
|
||||||
ln -s nim_commit_${NIM_COMMIT_HASH} bin/nim
|
ln -s nim_commit_${NIM_COMMIT_HASH} bin/nim${EXE_SUFFIX}
|
||||||
|
|
||||||
# update the CI cache
|
# update the CI cache
|
||||||
popd # we were in $NIM_DIR
|
popd # we were in $NIM_DIR
|
||||||
|
|
Loading…
Reference in New Issue