mirror of
https://github.com/freedoom/freedoom.git
synced 2025-08-30 08:16:54 -04:00
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:
parent
c4e091908a
commit
76c6cf6a16
1 changed files with 1 additions and 1 deletions
|
@ -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:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue