소스 검색

Fix config import paths

Frans Bergman 4 년 전
부모
커밋
9fc064faa9
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      bin/wesh.sh

+ 4 - 4
bin/wesh.sh

@@ -1,11 +1,11 @@
 #!/bin/sh
 
-. conf.sh
-. lib.sh
-. corehandlers.sh
+. ./conf.sh
+. ./lib.sh
+. ./corehandlers.sh
 cd ..
 
-. "$SITE_DIR/_wesh/config"
+[ -f "$SITE_DIR/_wesh/config" ] && . "$SITE_DIR/_wesh/config"
 
 printf "Content-Type: text/html\n"
 printf "\n"