Skip to content

Commit 6f24947

Browse files
authored
Merge pull request github#7156 from aibaars/ruby-prepare-db-upgrade-fix
Ruby: Fix scripts/prepare-db-upgrade.sh
2 parents 3c3a652 + fbb3e8d commit 6f24947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/scripts/prepare-db-upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ check_hash_valid()
7373
}
7474

7575
# Get the hash of the previous and current DB Schema files
76-
prev_hash="$(git show "${prev_hash}:${scheme_file}" | git hash-object --stdin)"
76+
prev_hash="$(git show "${prev_hash}:ruby/${scheme_file}" | git hash-object --stdin)"
7777
check_hash_valid previous "${prev_hash}"
7878
current_hash="$(git hash-object "${scheme_file}")"
7979
check_hash_valid current "${current_hash}"

0 commit comments

Comments
 (0)