commit 52aacc6dac6fa2b7876f65b3bafa22d01bec99f8
parent b129954d4d2f3fcc176f3bea96110e9dfd188bd5
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Fri, 21 Apr 2023 21:31:11 -0400
fix: bug with make and cd not working as expected
Diffstat:
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git 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
@@ -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