paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 68b058e0f578a5320b846aeb911694572dd8de7f
parent 303959c46989ce5c853a2a07713317921cb5ef1d
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 11 Jun 2020 14:58:07 -0400

Remove unnecessary call to cut in compile script

Diffstat:
Mcompile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile b/compile @@ -240,7 +240,7 @@ for file in "$@"; do continue fi - fileName=$(basename "$file" | cut -d'.' -f1) + fileName=$(basename -s .md "$file") fileExt=$(echo "$file" | awk -F . '{if (NF>1) {print $NF}}') fileDir=$(dirname "$file") subDir=$(echo "$fileDir" | sed "s/^pages//")