diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2023-07-12 09:43:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2023-07-12 12:42:10 +1200 |
commit | 8eccc03c9d465c8ac5bd95799337c7089c1c344d (patch) | |
tree | f2d9e4fd3632cda96e7b88be81ae4ba7bbe1c12c | |
parent | Restore SSHArgumentParser wrapper (diff) | |
download | ssh_negotiate_term-8eccc03c9d465c8ac5bd95799337c7089c1c344d.tar.gz ssh_negotiate_term-8eccc03c9d465c8ac5bd95799337c7089c1c344d.zip |
Use .py extension rather than .py3 to allow import
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | ssh_negotiate_term.py (renamed from ssh_negotiate_term.py3) | 0 |
2 files changed, 2 insertions, 2 deletions
@@ -1,11 +1,11 @@ .POSIX: .PHONY: all install clean .SUFFIXES: -.SUFFIXES: .py3 +.SUFFIXES: .py PREFIX = /usr/local ALL = ssh_negotiate_term PYTHON3 = /usr/bin/python3 -.py3: +.py: $(PYTHON3) -c pass awk -v python3=$(PYTHON3) 'NR == 1 { print "#!" python3 } NR > 1' $< > $@ chmod +x ./$@ diff --git a/ssh_negotiate_term.py3 b/ssh_negotiate_term.py index 3c99613..3c99613 100644 --- a/ssh_negotiate_term.py3 +++ b/ssh_negotiate_term.py |