From f0683f47650eaf29387989fbf2c561a53e17791d Mon Sep 17 00:00:00 2001
From: Franck Dary <franck.dary@lis-lab.fr>
Date: Mon, 27 Apr 2020 13:28:47 +0200
Subject: [PATCH] Updated shebangs to be more portable

---
 UD_any/data/getRawText.py        | 2 +-
 UD_any/data/getTransitionSets.py | 2 +-
 UD_any/evaluate.sh               | 2 +-
 UD_any/launchBatches.py          | 2 +-
 UD_any/prepareExperiment.sh      | 2 +-
 UD_any/print_results.py          | 2 +-
 UD_any/train.sh                  | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/UD_any/data/getRawText.py b/UD_any/data/getRawText.py
index 74b78cd..1bdecba 100755
--- a/UD_any/data/getRawText.py
+++ b/UD_any/data/getRawText.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
 
 import sys
 import os
diff --git a/UD_any/data/getTransitionSets.py b/UD_any/data/getTransitionSets.py
index 473ec73..34b9551 100755
--- a/UD_any/data/getTransitionSets.py
+++ b/UD_any/data/getTransitionSets.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
 
 import sys
 
diff --git a/UD_any/evaluate.sh b/UD_any/evaluate.sh
index 9ef891a..dc0869d 100755
--- a/UD_any/evaluate.sh
+++ b/UD_any/evaluate.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 
 function has_space {
   [[ "$1" != "${1%[[:space:]]*}" ]] && return 0 || return 1
diff --git a/UD_any/launchBatches.py b/UD_any/launchBatches.py
index d29fdb1..3195812 100755
--- a/UD_any/launchBatches.py
+++ b/UD_any/launchBatches.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
 
 import sys
 import os
diff --git a/UD_any/prepareExperiment.sh b/UD_any/prepareExperiment.sh
index a35cce3..e89c54a 100755
--- a/UD_any/prepareExperiment.sh
+++ b/UD_any/prepareExperiment.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 
 source config
 
diff --git a/UD_any/print_results.py b/UD_any/print_results.py
index fc2852d..5df93f6 100755
--- a/UD_any/print_results.py
+++ b/UD_any/print_results.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
 
 import glob
 import sys
diff --git a/UD_any/train.sh b/UD_any/train.sh
index 602d5ab..3762e77 100755
--- a/UD_any/train.sh
+++ b/UD_any/train.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 
 function has_space {
   [[ "$1" != "${1%[[:space:]]*}" ]] && return 0 || return 1
-- 
GitLab