From 52aacc6dac6fa2b7876f65b3bafa22d01bec99f8 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 21 Apr 2023 21:31:11 -0400 Subject: fix: bug with make and cd not working as expected --- config.h | 2 +- makefile | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/config.h b/config.h index df22aec..5dae72c 100644 --- a/config.h +++ b/config.h @@ -11,7 +11,7 @@ #define ROSE_HOMEPAGE true #define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://lite.duckduckgo.com/html" #define SEARCH "https://search.nunosempere.com/search?q=%s" // "https://lite.duckduckgo.com/html/?q=%s" -#define CACHE_DIR "/home/root/.cache/rose" +#define CACHE_DIR "/home/loki/.cache/rose" #define WIDTH 1920 #define HEIGHT 1080 diff --git a/makefile b/makefile index 832c245..08e14f2 100644 --- a/makefile +++ b/makefile @@ -54,12 +54,8 @@ CURRENT_DIR=`pwd` build: $(SRC) $(PLUGS) $(CONFIG) # Recompute constants - cd /plugins/readability/ - sh recompute_READABILITY_N.sh - cd - - cd /plugins/style - sh recompute_STYLE_N.sh - cd - + cd plugins/readability/ && sh recompute_READABILITY_N.sh + cd plugins/style && sh recompute_STYLE_N.sh # Make cache mkdir -p $(CURRENT_CACHE_DIR) # Hardcode cache path -- cgit v1.2.3