Files
termux-packages/packages/crawl/util-gen_ver.pl.diff
termux-pacman-bot 928c898c89 crawl: Bump to 0.30.0
2023-05-06 21:30:57 +00:00

12 lines
549 B
Diff

--- a/crawl-ref/source/util/gen_ver.pl
+++ b/crawl-ref/source/util/gen_ver.pl
@@ -20,7 +20,7 @@
#
# Source tarbells distributed as part of a release include this file already
# generated with the release version.
-$_ = `git describe $mergebase 2> /dev/null`
+$_ = "@VERSION@"
|| (open(IN, "<", "$scriptpath/release_ver") ? <IN>
: die "Can't get version information: `git describe` failed (no git, no repository, or shallow clone), and $scriptpath/release_ver doesn't exist.\n")
or die "couldn't get the version information\n";