X Tutup
Skip to content

Commit c60def9

Browse files
Adjust 32/64 path before printing gcc version
1 parent 93a9520 commit c60def9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

scripts/ci.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/sh -xe
22

3+
if [ "$CI_ARCH" = "amd64" ]; then
4+
export PATH=/mingw64/bin:$PATH
5+
else
6+
export PATH=/mingw32/bin:$PATH
7+
fi
8+
39
7za | head -2
410
gcc -v
511
cppcheck --error-exitcode=1 src
@@ -10,13 +16,6 @@ if [ -n "$CI_BUILD_TAG" ]; then
1016
fi
1117
export ELEVATE_CFLAGS="-DELEVATE_VERSION=\\\"$ELEVATE_VERSION\\\""
1218

13-
14-
if [ "$CI_ARCH" = "amd64" ]; then
15-
export PATH=/mingw64/bin:$PATH
16-
else
17-
export PATH=/mingw32/bin:$PATH
18-
fi
19-
2019
make
2120
file elevate.exe
2221

0 commit comments

Comments
 (0)
X Tutup