commit 69385415521a068a5d4324bee805de94733c3791
parent bad6c754fa8c479caaea1e9c78310e4fd327fb9a
Author: lash <dev@holbrook.no>
Date: Sat, 8 Jun 2024 18:56:03 +0100
Change description data store path
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gitmeta.sh b/gitmeta.sh
@@ -1,7 +1,8 @@
#!/bin/bash
nocontent_sha256="85ab6c163d43a17ea9cf7788308bca1466f1b0a8d1cc92e26e9bf63da4062aee"
-localdir=$HOME/.local/share/gitdesc
+localdir=$HOME/.local/share/gitrefresh
+localdir_desc=$localdir/description
_level=3
while test $# != 0; do
@@ -79,10 +80,10 @@ for d in $(find . -type d -not -name ".git"); do
fi
h=$(sha256sum $dsc | awk '{ print $1; }')
if [ "$h" != $nocontent_sha256 ]; then
- if [ -f $localdir/$h ]; then
+ if [ -f $localdir_desc/$h ]; then
dbg 2 "already have $d ($h)"
else
- cp -v $dsc $localdir/$h
+ cp -v $dsc $localdir_desc/$h
fi
fi
fi