aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-04-21 21:31:11 -0400
committerNunoSempere <nuno.sempere@protonmail.com>2023-04-21 21:31:11 -0400
commit52aacc6dac6fa2b7876f65b3bafa22d01bec99f8 (patch)
treeb577f08217bb11a2f8d73dce9577f5d1052f6e25
parentb129954d4d2f3fcc176f3bea96110e9dfd188bd5 (diff)
fix: bug with make and cd not working as expected
-rw-r--r--config.h2
-rw-r--r--makefile8
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