aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <[email protected]>2017-01-14 00:18:34 +0100
committerBrian Behlendorf <[email protected]>2017-01-13 15:18:34 -0800
commite254c8d8ee8783fd547165d4a754f9d8d9d386c4 (patch)
treeec57f84204331bcf94e7da9e06a4b7f267a737fe
parent0eef1bde31d67091d3deed23fe2394f5a8bf2276 (diff)
module/Makefile.in: use relative cp
Assuming /bin/cp causes problems on systems where cp is not in /bin such as NixOS. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Joerg Thalheim <[email protected]> Closes #5548
-rw-r--r--module/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index e4f06a6e8..1c1ea032e 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -21,9 +21,9 @@ modules:
@# installed devel headers, or they may be in the module
@# subdirectory when building against the spl source tree.
@if [ -f @SPL_OBJ@/@SPL_SYMBOLS@ ]; then \
- /bin/cp @SPL_OBJ@/@SPL_SYMBOLS@ .; \
+ cp @SPL_OBJ@/@SPL_SYMBOLS@ .; \
elif [ -f @SPL_OBJ@/module/@SPL_SYMBOLS@ ]; then \
- /bin/cp @SPL_OBJ@/module/@SPL_SYMBOLS@ .; \
+ cp @SPL_OBJ@/module/@SPL_SYMBOLS@ .; \
else \
echo -e "\n" \
"*** Missing spl symbols ensure you have built the spl:\n" \
@@ -71,7 +71,7 @@ modules_uninstall:
distdir:
list='$(subdir-m)'; for subdir in $$list; do \
(cd @top_srcdir@/module && find $$subdir -name '*.c' -o -name '*.h' -o -name '*.S' |\
- xargs /bin/cp --parents -t $$distdir); \
+ xargs cp --parents -t $$distdir); \
done
distclean maintainer-clean: clean