aboutsummaryrefslogtreecommitdiff
path: root/makefile
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 /makefile
parentb129954d4d2f3fcc176f3bea96110e9dfd188bd5 (diff)
fix: bug with make and cd not working as expected
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 2 insertions, 6 deletions
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