Refactored variables

This commit is contained in:
Kevin Veen-Birkenbach 2019-10-01 08:56:34 +02:00
parent 24e05b6c08
commit bad1ecccb0

View File

@ -1,5 +1,6 @@
#!/bin/bash
# This script contains the global program variables and functions
# @author Kevin Veen-Birkenbach [aka. Frantz]
ENCRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../.encrypted");
DECRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../data");
REPOSITORY_PATH="$(dirname "$(readlink -f "${0}")")"
ENCRYPTED=$(readlink -f "$REPOSITORY_PATH/../.encrypted");
DECRYPTED=$(readlink -f "$REPOSITORY_PATH/../data");