From 76c6cf6a1636afa143e2cc8b75bfabef35b4578e Mon Sep 17 00:00:00 2001 From: Steven Elliott Date: Wed, 7 Feb 2024 07:31:34 -0500 Subject: [PATCH] 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. --- scripts/makepkgs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkgs b/scripts/makepkgs index f321d8e9..6df38254 100755 --- a/scripts/makepkgs +++ b/scripts/makepkgs @@ -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:]