mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
FreeBSD updates (#2)
* 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 * FreeBSD Update Change script header using env instead of direct Bash shell call (full path of 'env' is '/usr/bin/env') * Update README.md * Fixed update to work on FreeBSD too After applying the meta-package it is more widely usable
This commit is contained in:
@@ -16,6 +16,10 @@ dependencies are fetched automatically while building.
|
|||||||
|
|
||||||
$ make build
|
$ make build
|
||||||
|
|
||||||
|
or on FreeBSD
|
||||||
|
|
||||||
|
$ gmake build
|
||||||
|
|
||||||
Afterwards the binary is created as `bin/signaling`.
|
Afterwards the binary is created as `bin/signaling`.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
ROOT="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
ROOT="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Standalone signaling server for the Nextcloud Spreed app.
|
# Standalone signaling server for the Nextcloud Spreed app.
|
||||||
# Copyright (C) 2019 struktur AG
|
# Copyright (C) 2019 struktur AG
|
||||||
@@ -51,7 +51,7 @@ else:
|
|||||||
|
|
||||||
def generate_map(filename):
|
def generate_map(filename):
|
||||||
data = subprocess.check_output([
|
data = subprocess.check_output([
|
||||||
'/usr/bin/curl',
|
'curl',
|
||||||
'-L',
|
'-L',
|
||||||
URL,
|
URL,
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user