X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=scripts%2FMakefile.am;h=d275a41c4e04443ac774ffe08eb3538dc3276b9b;hb=8f12a4f8d2846ca668f8ad90d9ea5c19c8c0b78f;hp=11e963c527a8c14ff1559ab25cce0148e2a2a617;hpb=cc9625c47c39ef9c558a51c6ae662d2342b70679;p=zfs diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 11e963c52..d275a41c4 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -60,7 +60,7 @@ all-local: -e '\|^export SBIN_DIR=|s|$$|@abs_top_builddir@/bin|' \ -e '\|^export ZTS_DIR=|s|$$|@abs_top_srcdir@/tests|' \ -e '\|^export SCRIPT_DIR=|s|$$|@abs_top_srcdir@/scripts|' \ - common.sh.in >common.sh + $(abs_top_srcdir)/scripts/common.sh.in >common.sh -echo "$$EXTRA_ENVIRONMENT" >>common.sh clean-local: @@ -71,4 +71,5 @@ install-data-hook: -e '\|^export SBIN_DIR=|s|$$|@sbindir@|' \ -e '\|^export ZTS_DIR=|s|$$|@datadir@/@PACKAGE@|' \ -e '\|^export SCRIPT_DIR=|s|$$|@datadir@/@PACKAGE@|' \ - common.sh.in >$(DESTDIR)$(datadir)/@PACKAGE@/common.sh + $(abs_top_srcdir)/scripts/common.sh.in \ + >$(DESTDIR)$(datadir)/@PACKAGE@/common.sh