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 #!/bin/bash
# This script contains the global program variables and functions # This script contains the global program variables and functions
# @author Kevin Veen-Birkenbach [aka. Frantz] # @author Kevin Veen-Birkenbach [aka. Frantz]
ENCRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../.encrypted"); REPOSITORY_PATH="$(dirname "$(readlink -f "${0}")")"
DECRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../data"); ENCRYPTED=$(readlink -f "$REPOSITORY_PATH/../.encrypted");
DECRYPTED=$(readlink -f "$REPOSITORY_PATH/../data");