commit f15ac0a16c8e4cab69359bb22aeda08f9304d460
parent 8a5dc77cf7665787b1bee6d6b3fb297f25e71bf1
Author: finwo <finwo@pm.me>
Date: Wed, 6 Dec 2017 20:22:16 +0100
One last forgotton temp_file reference
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dep b/dep
@@ -202,7 +202,7 @@ case "$1" in
cachefile=$(echo ~/.dep/cache/$2)
if [ -f $cachefile ]; then
echo " Cache detected"
- SUM=$(sha256sum -b $temp_file | cut -d " " -f 1)
+ SUM=$(sha256sum -b $cachefile | cut -d " " -f 1)
[[ "$sha256" == "$SUM" ]] || {
echo " Checksum did not match, updating cache"
curl -fL# "$tarball" > $cachefile