#!/bin/sh cd "$( dirname "$( readlink -f "$0" )" )" || exit CONFIG_PATH="./config" . ./config/*.conf echo "$_FILE_TO_COPY" echo "$_DOTFILES" while VAR= read -r line; do echo " .. $line .. "; done <<< "$_FILE_TO_COPY"