Browse Source

find -> gfind (macos)

master
Maxim Likhachev 6 years ago committed by Maxim Likhachev
parent
commit
147a9b3ff0
  1. 4
      Makefile

4
Makefile

@ -9,10 +9,10 @@ rmdir:
rmdir $(path) 2>&-; : rmdir $(path) 2>&-; :
install: mkdir install: mkdir
find . -type f -executable -exec basename {} \; | while read -r line; do ln -s $$(realpath $$line) $(path)/$$line; done gfind . -maxdepth 1 -type f -executable -exec basename {} \; | while read -r line; do ln -s $$(realpath $$line) $(path)/$$line; done
rmlinks: rmlinks:
find . -type f -executable -exec basename {} \; | xargs -IF rm -fv $(path)/F gfind . -maxdepth 1 -type f -executable -exec basename {} \; | xargs -IF rm -fv $(path)/F
uninstall: rmlinks rmdir uninstall: rmlinks rmdir

Loading…
Cancel
Save