summaryrefslogtreecommitdiff
path: root/util/ci/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/ci/common.sh')
-rw-r--r--util/ci/common.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/ci/common.sh b/util/ci/common.sh
index e372dc682..82529c712 100644
--- a/util/ci/common.sh
+++ b/util/ci/common.sh
@@ -7,7 +7,9 @@ install_linux_deps() {
libhiredis-dev libogg-dev libgmp-dev libvorbis-dev libopenal-dev \
gettext libpq-dev libleveldb-dev libcurl4-openssl-dev libzstd-dev)
- if [[ "$1" == "--old-irr" ]]; then
+ if [[ "$1" == "--no-irr" ]]; then
+ shift
+ elif [[ "$1" == "--old-irr" ]]; then
shift
pkgs+=(libirrlicht-dev)
else