From affcc26512dca94d0bde94a42e0ed134fe7ae397 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 30 Sep 2019 16:52:06 +0200 Subject: [PATCH] Translated relative to absolute path --- scripts/import-data-from-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/import-data-from-system.sh b/scripts/import-data-from-system.sh index 0e2ace9..23d42d0 100644 --- a/scripts/import-data-from-system.sh +++ b/scripts/import-data-from-system.sh @@ -2,7 +2,7 @@ # Imports data from the system # @author Kevin Veen-Birkenbach [aka. Frantz] # @param $1 If the first parameter is "reverse" the data will be exported to the system -DATA_FOLDER="$(dirname "$(readlink -f "${0}")")/../data"; +DATA_FOLDER=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../data"); declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig"); for system_item_path in "${BACKUP_LIST[@]}"; do