From d493365afb913d344523ee0ce287087e3007dccb Mon Sep 17 00:00:00 2001 From: n-connect Date: Thu, 14 May 2020 00:50:52 +0200 Subject: [PATCH] FreeBSD update 1. run the build with gmake build on FreeBSD 2. Using env instead of direct interpreter call in head of python script - more flexible use of python scripts (there's no default symlink like python2 or python3 in FreeBSD) 3. removing full path before of 'curl' to be able to run it by the script for dependency downloads --- scripts/get_continent_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/get_continent_map.py b/scripts/get_continent_map.py index 9a1d4c5..a52b3a7 100755 --- a/scripts/get_continent_map.py +++ b/scripts/get_continent_map.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3.7 # # Standalone signaling server for the Nextcloud Spreed app. # Copyright (C) 2019 struktur AG @@ -51,7 +51,7 @@ else: def generate_map(filename): data = subprocess.check_output([ - '/usr/bin/curl', + 'curl', '-L', URL, ])