mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Do not link cache dir as it may already exist (#6358)
use bash with extglob to not match one result closes koreader/koreader#6357
This commit is contained in:
2
Makefile
2
Makefile
@@ -81,7 +81,7 @@ else
|
||||
cp -f $(KOR_BASE)/ev_replay.py $(INSTALL_DIR)/koreader/
|
||||
@echo "[*] create symlink instead of copying files in development mode"
|
||||
cd $(INSTALL_DIR)/koreader && \
|
||||
ln -sf ../../$(KOR_BASE)/$(OUTPUT_DIR)/* .
|
||||
bash -O extglob -c "ln -sf ../../$(KOR_BASE)/$(OUTPUT_DIR)/!(cache) ."
|
||||
@echo "[*] install front spec only for the emulator"
|
||||
cd $(INSTALL_DIR)/koreader/spec && test -e front || \
|
||||
ln -sf ../../../../spec ./front
|
||||
|
||||
Reference in New Issue
Block a user