Skip to main content

python/pip_sync: use the correct home directory on Linux

ID
85e6449
date
2026-04-18 11:51:56+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
442d97c
message
python/pip_sync: use the correct home directory on Linux
changed files
1 file, 1 addition, 1 deletion

Changed files

python/run_pip_sync (878) → python/run_pip_sync (879)

diff --git a/python/run_pip_sync b/python/run_pip_sync
index 465dc45..47727f3 100755
--- a/python/run_pip_sync
+++ b/python/run_pip_sync
@@ -27,6 +27,6 @@ if __name__ == "__main__":
 
     # Actually run the command, and print a debug entry for it.
     subprocess.check_call(
-        ["/Users/alexwlchan/repos/scripts/debug/print_info", f"-> {shlex.join(cmd)}"]
+        [str(Path.home() / "repos/scripts/debug/print_info"), f"-> {shlex.join(cmd)}"]
     )
     subprocess.check_call(cmd, stdout=subprocess.DEVNULL)