From 69af3e6fc48b6fcffe5080734c07cd8318faabac Mon Sep 17 00:00:00 2001 From: Totto16 Date: Mon, 20 Jun 2022 00:16:12 +0200 Subject: [PATCH 1/2] In Posix, /bin/sh has no [[, but bash has them ;) --- BuildLua.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildLua.sh b/BuildLua.sh index effadcf..1968eb8 100755 --- a/BuildLua.sh +++ b/BuildLua.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash if [ -z $2 ]; then echo "Usage: $0 input_file output_file [input2 output2 ...]" From 6aeb649c2be181c2e9568654c36ae5d0b9b211a5 Mon Sep 17 00:00:00 2001 From: Totto16 Date: Thu, 19 Oct 2023 00:57:30 +0200 Subject: [PATCH 2/2] fix linking with curl error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 Makefile diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 78fc4c3..d659bf7 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ $(DownloadManager): LDFLAGS += -pthread endif $(DownloadManager): $(DM_OBJECTS) @printf "\e[1;32m LINK\e[m $@\n" - @$(CXX) $(LDFLAGS) -o $@ $^ + @$(CXX) $(LDFLAGS) -o $@ $^ -lcurl $(PreciseTimer): $(PT_OBJECTS) @printf "\e[1;32m LINK\e[m $@\n"