]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Handle absolute path checks consistently.
authorCollin Funk <collin.funk1@gmail.com>
Mon, 10 Jun 2024 01:08:00 +0000 (18:08 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Mon, 10 Jun 2024 01:08:00 +0000 (18:08 -0700)
commit86bedefc76bd140dd516a4f058830f1f561487f2
treeef6651761dbf35159ff72c46d993b1c09200dea5
parent4d5e82a9b730a62f1caef099482dd66c2bd3459c
gnulib-tool.py: Handle absolute path checks consistently.

* pygnulib/GLImport.py (GLImport.relative_to_destdir)
(GLImport.relative_to_currdir): Use os.path.isabs() instead of checking
for a slash.
* pygnulib/constants.py (symlink_relative, as_link_value_at_dest)
(hardlink): Use os.path.isabs() instead of checking for a slash or drive
prefix.
ChangeLog
pygnulib/GLImport.py
pygnulib/constants.py