From 2b6ee46e9ac412ac744b356f01b841c20a642e70 Mon Sep 17 00:00:00 2001 From: Kevin Allix Date: Sat, 24 Jun 2017 13:37:42 +0200 Subject: [PATCH] Change (where needed) shebang to /usr/bin/env xxx for better portability --- INSTALL/get-misp-automation.py | 2 +- app/Console/worker/start.sh | 2 +- app/update_thirdparty.sh | 2 +- tests/curl_tests.sh | 2 +- tools/get-misp-automation-client-cert.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL/get-misp-automation.py b/INSTALL/get-misp-automation.py index b2b8cbb49..eda1e7c85 100644 --- a/INSTALL/get-misp-automation.py +++ b/INSTALL/get-misp-automation.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python ''' Example file on how to get the exported IDS data from MISP diff --git a/app/Console/worker/start.sh b/app/Console/worker/start.sh index 22bd68a76..b49201d75 100755 --- a/app/Console/worker/start.sh +++ b/app/Console/worker/start.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Check if run as root if [ "$EUID" -eq 0 ]; then diff --git a/app/update_thirdparty.sh b/app/update_thirdparty.sh index 482c5cad0..19463056f 100755 --- a/app/update_thirdparty.sh +++ b/app/update_thirdparty.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/tests/curl_tests.sh b/tests/curl_tests.sh index 065631749..91344f439 100755 --- a/tests/curl_tests.sh +++ b/tests/curl_tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e set -x diff --git a/tools/get-misp-automation-client-cert.py b/tools/get-misp-automation-client-cert.py index c83dd8524..b4760af8c 100644 --- a/tools/get-misp-automation-client-cert.py +++ b/tools/get-misp-automation-client-cert.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python ''' Example file on how to get the exported IDS data from MISP