projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d2786
)
ci/build.sh: CMake: use OSTYPE to determine if on MSYS2/MinGW
author
Magnus Jacobsson
<Magnus.Jacobsson@berotec.se>
Sat, 4 Sep 2021 13:33:48 +0000
(15:33 +0200)
committer
Magnus Jacobsson
<Magnus.Jacobsson@berotec.se>
Tue, 7 Sep 2021 05:55:36 +0000
(07:55 +0200)
OSTYPE is a built-in variable in bash and exists on all operating
systems.
ci/build.sh
patch
|
blob
|
history
diff --git
a/ci/build.sh
b/ci/build.sh
index 0f71357afb8b5d34302032624dd3af37f156f6b6..37eac218c90b2306ee15ea0e0b01232cbcb4dff5 100755
(executable)
--- a/
ci/build.sh
+++ b/
ci/build.sh
@@
-35,7
+35,7
@@
if [ "${build_system}" = "cmake" ]; then
mv build/*.deb ${DIR}/os/${ARCH}/
elif [[ "${OSTYPE}" =~ "darwin" ]]; then
mv build/*.zip ${DIR}/os/${ARCH}/
- elif [ "${
ID}" = "msys2
" ]; then
+ elif [ "${
OSTYPE}" = "msys
" ]; then
mv build/*.zip ${DIR}/os/${ARCH}/
mv build/*.exe ${DIR}/os/${ARCH}/
else