From 1c6cd7431063b8fe7656edfacafa3a3f5d02ca66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
Date: Wed, 20 Oct 2021 10:22:55 +0200
Subject: [PATCH 1/2] compile.sh: Use a portable way of sourcing a file

---
 compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index 2fa22e2..7bf55e5 100755
--- a/compile.sh
+++ b/compile.sh
@@ -54,7 +54,7 @@ fi
 
 cd $WORK_DIR
 diagnostic "Setting the environment"
-source emsdk/emsdk_env.sh
+. emsdk/emsdk_env.sh
 
 diagnostic "build libvlc"
 cd ./vlc/extras/package/wasm-emscripten/
-- 
GitLab


From b95f91a311b31e9d417ad48cc5ddad3fd8323c23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
Date: Wed, 20 Oct 2021 10:23:04 +0200
Subject: [PATCH 2/2] compile.sh: Fix shebang

---
 compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index 7bf55e5..967ad94 100755
--- a/compile.sh
+++ b/compile.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 set -e
 
 ## FUNCTIONS
-- 
GitLab