From a0cb4cf03d1731ff8f56e7461d7d956374ffdf8e Mon Sep 17 00:00:00 2001 From: Josef Ezra Date: Sat, 19 Sep 2020 10:37:33 -0400 Subject: [PATCH] fix make install warning --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5b39c40..714574d 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,9 @@ ifeq ("$(wildcard ./slimfastq)","") @echo "(Note that 'make slimfastq install' would not work as expected)" @false else - install -t /usr/local/bin/ ./slimfastq tools/slimfastq.multi + @install -t /usr/local/bin/ ./slimfastq tools/slimfastq.multi 2>/dev/null \ + || cp ./slimfastq tools/slimfastq.multi /usr/local/bin/ \ + || echo "failed to install, please use ./slimfastq and tools/slimfastq.multi in place, or copy them to your lookup path" @echo "\nAll done!" endif