hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit c082876ec87f17fd887b3956ccd5ed201e1401da
parent 301812d7e5555c4de4a72797ab45f8c0d6c18604
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri, 31 Mar 2017 06:22:20 -0400

Add a dirname $0

Diffstat:
Mfakestache | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fakestache b/fakestache @@ -2,12 +2,14 @@ # # FAKESTACHE SSG - Yep! An Other Static Website Generator! # (Pandoc + Mustache + Bash) -# # Dependencies : # * Pandoc - Make sure it's installed on your machine : `$ pandoc -v`. # * Mustache - Is already includes in pantash : `lib/mo/`. +# Go to the script's directory +cd "$(dirname "$0")" + # Include the main configuration files . config/site.cfg . config/app.cfg