Improve string comparison in install.py to remove warning
This commit is contained in:
@@ -8,7 +8,7 @@ src_root = sys.argv[1]
|
||||
target_prefix = sys.argv[2]
|
||||
install = int(sys.argv[3])
|
||||
target_destdir = os.environ.get("DESTDIR", "")
|
||||
if not target_destdir is "":
|
||||
if target_destdir != "":
|
||||
target_prefix = target_destdir + target_prefix
|
||||
|
||||
if not os.path.isdir(src_root):
|
||||
|
||||
Reference in New Issue
Block a user