fix: bug with make and cd not working as expected

This commit is contained in:
NunoSempere 2023-04-21 21:31:11 -04:00
parent b129954d4d
commit 52aacc6dac
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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