From 922649bd9083b88462356be862c9e47d6a6454f2 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 12 Mar 2017 23:48:26 +0100 Subject: [PATCH] Add Makefile --- Makefile | 4 ++++ termux-apt-repo | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ca95fb2 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +install: + cp termux-apt-repo $(PREFIX)/bin/termux-apt-repo + +.PHONY: install diff --git a/termux-apt-repo b/termux-apt-repo index 54672d8..7ecc7d6 100755 --- a/termux-apt-repo +++ b/termux-apt-repo @@ -48,7 +48,7 @@ if len(sys.argv) == 3: distribution_path = output_path + '/dists/' + DISTRIBUTION component_path = distribution_path + '/' + COMPONENT else: - sys.exit('Usage: termux-apt-repository ') + sys.exit('Usage: termux-apt-repo ') if not os.path.isdir(input_path): sys.exit("'" + input_path + '" does not exist')