From 2432c6281af60f816a5c5f224940766ed479c965 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Tue, 1 Jan 2019 23:16:50 -0800 Subject: [PATCH] handling images in build script better now --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e88edee..c43fc0b 100755 --- a/build.sh +++ b/build.sh @@ -20,6 +20,9 @@ page() { done } +img() { + cp -r img/ "$rootDir/img/" +} style() { # Updating index style cp style.css $rootDir/style.css @@ -47,7 +50,7 @@ yeet() { init() { mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/" - cp ./img/* "$rootDir/img/" + cp -r img/ "$rootDir" cp ./fonts/* "$rootDir/fonts/" post