mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
Fix new framework for running from installed path
Fixes #777 Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
c609be1713
commit
2472ebce2e
@ -272,7 +272,7 @@ install-lib: $(DESTDIR)$(libdir) \
|
||||
install-lib-main \
|
||||
install-lib-samples
|
||||
|
||||
LIB_SUB_DIR := config contrib patches scripts
|
||||
LIB_SUB_DIR := config contrib packages scripts
|
||||
$(patsubst %,install-lib-%-copy,$(LIB_SUB_DIR)): install-lib-%-copy: $(DESTDIR)$(libdir)
|
||||
$(call __silent,INSTDIR,$*)tar cf - --exclude='*.sh.in' --exclude='*.in.in' --exclude=.gitignore $* \
|
||||
|(cd "$(DESTDIR)$(libdir)"; tar xf -)
|
||||
|
@ -1910,7 +1910,7 @@ CT_DoExtractPatch()
|
||||
# Can't use CT_DoExecLog because of the '{} \;' to be passed un-mangled to find
|
||||
find . -type f -name "${cfg}" \
|
||||
-exec chmod -v u+w {} \; \
|
||||
-exec cp -v "${CT_TOP_DIR}/scripts/${cfg}" {} \; |CT_DoLog ALL
|
||||
-exec cp -v "${CT_LIB_DIR}/scripts/${cfg}" {} \; |CT_DoLog ALL
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user