From be039aa7352e858f36a0813bcc65de31d941a6bd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 1 Sep 2017 09:19:30 +0100 Subject: [PATCH] Run things as root. It'll be fiiiine --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e9edc72..0df13e3 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ release: lib_path: @rm -rf $(LIB_DIR) @mkdir -p $(LIB_DIR) - @rm -f /usr/lib/libsciter-gtk-64.so + @sudo rm -f /usr/lib/libsciter-gtk-64.so pandoc: lib_path wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/${PANDOC_DL} -O $(LIB_DIR)/$(PANDOC_DL) @@ -35,7 +35,7 @@ wktox: lib_path sciter: lib_path wget https://sciter.com/sdk/sciter-sdk.zip -O $(LIB_DIR)/sciter.zip unzip -j $(LIB_DIR)/sciter.zip "bin.gtk/libsciter-gtk-64.so" -d $(LIB_DIR) - ln -sfP $(LIB_DIR)/libsciter-gtk-64.so /usr/lib/libsciter-gtk-64.so + sudo ln -sfP $(PWD)/$(LIB_DIR)/libsciter-gtk-64.so /usr/lib/libsciter-gtk-64.so rm $(LIB_DIR)/sciter.zip lib: pandoc wktox sciter