aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a0d94f..a783668 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,3 @@
install:
install -m 644 *.1 /usr/local/man/man1/
- install `ls -l | awk '$$1 ~ /^-/ && $$1 ~ /x$$/ {print $$NF}'` /usr/local/bin
+ install `ls -l | perl -ne 'next if not /^[-l]\S*x\s/; s/ -> .*//; s/.* //; print'` /usr/local/bin