vendor-install: remember VENDOR_DIR is a variable

This commit is contained in:
Misty De Meo committed 2018-07-06 19:42:02 -07:00
1 parent e6522ee54e
commit 36827d7637
1 file changed
+1 -1
+1 -1
View File
@@ -115,7 +115,7 @@ fetch() {
sha="$(ruby -e "require 'digest/sha2'; digest = Digest::SHA256.new; File.open('$CACHED_LOCATION', 'rb') { |f| digest.update(f.read) }; puts digest.hexdigest")"
# Pure Perl SHA256 implementation
else
sha="$(VENDOR_DIR/sha256 "$CACHED_LOCATION")"
sha="$($VENDOR_DIR/sha256 "$CACHED_LOCATION")"
fi
if [[ "$sha" != "$VENDOR_SHA" ]]