From 108ac7cf20578c8e23b392936313e3169b4a6906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 31 Jul 2019 16:54:26 +0200 Subject: [PATCH] ci: Make eslint wrapper script usable outside gitlab's CI The eslint wrapper script is useful for development as well, but it currently fails on systems where bash is not installed in /usr/bin. Make it useful there as well by changing the shebang to use /usr/bin/env https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/655 --- .gitlab-ci/run-eslint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/run-eslint.sh b/.gitlab-ci/run-eslint.sh index 0f745a58d..82642d4f0 100755 --- a/.gitlab-ci/run-eslint.sh +++ b/.gitlab-ci/run-eslint.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash OUTPUT_REGULAR=reports/lint-regular-report.txt OUTPUT_LEGACY=reports/lint-legacy-report.txt