aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-05-08 19:34:22 +0200
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-05-08 19:34:22 +0200
commit78ac17f8af0152d8ca0743683e828ad68b7b574b (patch)
treedae84ebfc7793ef36166b3d869e0ab02cb883a21
parent82bcfe3f25b1f0c08c93fd35497019b546e24ce2 (diff)
downloadsdep-78ac17f8af0152d8ca0743683e828ad68b7b574b.tar.gz
sdep-78ac17f8af0152d8ca0743683e828ad68b7b574b.zip
Fix SDEPFOLDER -> SDEPDATA in one script
-rw-r--r--Makefile2
-rwxr-xr-xscripts/sdep-edit2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2b44f75..8bc2a9a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
2 2
3VERSION = 0.1 3VERSION = 0.1
4 4
5PREFIX = /usr/local 5PREFIX = ${HOME}/.local
6MANPREFIX = ${PREFIX}/share/man 6MANPREFIX = ${PREFIX}/share/man
7SDEPDATA = ${XDG_DATA_HOME}/sdep 7SDEPDATA = ${XDG_DATA_HOME}/sdep
8SCRIPTS = sdep-add sdep-checknow sdep-clear sdep-edit sdep-list 8SCRIPTS = sdep-add sdep-checknow sdep-clear sdep-edit sdep-list
diff --git a/scripts/sdep-edit b/scripts/sdep-edit
index 5e8c491..d19a3f5 100755
--- a/scripts/sdep-edit
+++ b/scripts/sdep-edit
@@ -5,7 +5,7 @@
5# Usage: sdep-edit [file] 5# Usage: sdep-edit [file]
6# No options = once 6# No options = once
7 7
8file="SDEPFOLDER/${1:-once}" 8file="SDEPDATA/${1:-once}"
9editor=${VISUAL:-vi} 9editor=${VISUAL:-vi}
10 10
11$editor "$file" 11$editor "$file"

Generated with cgit - Back to sebastiano.tronto.net