commit 78ac17f8af0152d8ca0743683e828ad68b7b574b
parent 82bcfe3f25b1f0c08c93fd35497019b546e24ce2
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date: Sat, 8 May 2021 19:34:22 +0200
Fix SDEPFOLDER -> SDEPDATA in one script
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -2,7 +2,7 @@
VERSION = 0.1
-PREFIX = /usr/local
+PREFIX = ${HOME}/.local
MANPREFIX = ${PREFIX}/share/man
SDEPDATA = ${XDG_DATA_HOME}/sdep
SCRIPTS = sdep-add sdep-checknow sdep-clear sdep-edit sdep-list
diff --git a/scripts/sdep-edit b/scripts/sdep-edit
@@ -5,7 +5,7 @@
# Usage: sdep-edit [file]
# No options = once
-file="SDEPFOLDER/${1:-once}"
+file="SDEPDATA/${1:-once}"
editor=${VISUAL:-vi}
$editor "$file"