+
+ # create a symlink farm for the fonts
+ # rm -rf "./fonts/*"
+ cd $1
+ rm -rf ./fonts/*
+
+ # first created the directories
+ for fontdir in "${SOURCEDIR}/template/fonts/"*; do
+ mkdir "./fonts/$(basename "${fontdir}")"
+ # then the files
+ for fontfile in "${fontdir}/"*; do
+ ln -s "${fontfile}" "./fonts/$(basename "${fontdir}")/$(basename "${fontfile}")"
+ done;
+ done;
+
+ cd $CURDIR