Fix check
This commit is contained in:
parent
da93317a78
commit
4ac85997f5
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ HEADER="$1/head.html"
|
||||||
NAV_BAR="$1/nav.html"
|
NAV_BAR="$1/nav.html"
|
||||||
FOOTER="$1/footer.html"
|
FOOTER="$1/footer.html"
|
||||||
|
|
||||||
for f in "${HEADER}"/{head,nav,footer}.html; do
|
for f in "$1"/{head,nav,footer}.html; do
|
||||||
if [[ ! -e "${f}" ]]; then
|
if [[ ! -e "${f}" ]]; then
|
||||||
echo >&2 "Need ${f} to exist"
|
echo >&2 "Need ${f} to exist"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue