From 0f86ecb57afdffaad81c42a864ed60205b62d23a Mon Sep 17 00:00:00 2001
From: Vincent Delbar <vincent.delbar@latelescop.fr>
Date: Thu, 14 Apr 2022 18:02:31 +0200
Subject: [PATCH] ENH: make scripts executable and add shebang

---
 apps/drs_spot67_import.py | 1 +
 apps/s2_download.py       | 1 +
 apps/s2_import.py         | 1 +
 apps/search.py            | 1 +
 4 files changed, 4 insertions(+)
 mode change 100644 => 100755 apps/drs_spot67_import.py
 mode change 100644 => 100755 apps/s2_download.py
 mode change 100644 => 100755 apps/s2_import.py
 mode change 100644 => 100755 apps/search.py

diff --git a/apps/drs_spot67_import.py b/apps/drs_spot67_import.py
old mode 100644
new mode 100755
index 67f4532..b0c9d58
--- a/apps/drs_spot67_import.py
+++ b/apps/drs_spot67_import.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 import argparse
 from scenes import save_scenes
 from scenes.spot import get_spot67_scenes
diff --git a/apps/s2_download.py b/apps/s2_download.py
old mode 100644
new mode 100755
index 5c84a86..2aa786e
--- a/apps/s2_download.py
+++ b/apps/s2_download.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 import argparse
 from scenes import TheiaDownloader, utils
 import datetime
diff --git a/apps/s2_import.py b/apps/s2_import.py
old mode 100644
new mode 100755
index a07c89a..b2d31f6
--- a/apps/s2_import.py
+++ b/apps/s2_import.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 import argparse
 from scenes import save_scenes
 from scenes.sentinel import get_local_scenes
diff --git a/apps/search.py b/apps/search.py
old mode 100644
new mode 100755
index 1427505..5900f75
--- a/apps/search.py
+++ b/apps/search.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 import argparse
 from scenes import load_scenes, Index, utils
 
-- 
GitLab