Use bash as sh doesn't support the condition

pull/1754/head
Jon Beniston 2023-07-31 20:34:45 +01:00
rodzic 6899a32655
commit bf1feb5835
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/bash -e
if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ ${CI_LINUX} == true ]; then if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ "${CI_LINUX}" == true ]; then
debuild -i -us -uc -b debuild -i -us -uc -b
else else
mkdir -p build; cd build mkdir -p build; cd build