From 4775c7ddefb3b40555302172e8acac382211c27e Mon Sep 17 00:00:00 2001 From: Yannick Francois Date: Mon, 23 Sep 2019 23:01:29 +0200 Subject: [PATCH] utilise un lien symbolique sur Panash --- pana.sh | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) mode change 100755 => 120000 pana.sh diff --git a/pana.sh b/pana.sh deleted file mode 100755 index 245255b..0000000 --- a/pana.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# - -MARKDOWN_FILES=$(find src -name \*.md) - -for mdfile in $MARKDOWN_FILES; do - htmlfile="${mdfile%%.*}.html" - if [ ! -f "$htmlfile" ] || [ "$mdfile" != "$htmlfile" ]; then - echo "--> generate '$htmlfile' from '$mdfile'" - pandoc --template=lib/template.html -c lib/pandoc.css "$mdfile" -o "$htmlfile" - fi -done - - -echo "--> copy html files to public dir" -#HTML_FILES=$(find src -name \*.html) -#cp --parents src/*.html public - -(cd src && cp -r --parent . ../public) -#(cd src && find . -name \*.html -exec cp --parents {} ../public \;) - - -exit 0 diff --git a/pana.sh b/pana.sh new file mode 120000 index 0000000..4adfb08 --- /dev/null +++ b/pana.sh @@ -0,0 +1 @@ +../panash/pana.sh \ No newline at end of file