scripts: For "makepkgs" replace "is" with "=="

The "is" keyword is no longer supported, which result in a warning
in "make dist" as well as unintentionally having a "v" in the resulting
ZIP files and directory within those ZIP files.
This commit is contained in:
Steven Elliott 2024-02-07 07:31:34 -05:00
parent c4e091908a
commit 76c6cf6a16

View file

@ -24,7 +24,7 @@ version = os.getenv("VERSION")
if version is None:
sys.stderr.write("Version not specified for release\n")
sys.exit(1)
if version[0] is "v":
if version[0] == "v":
# Strip the leading "v" from versioning
version = version[1:]