Skip to content

Commit

Permalink
contrib: use install to copy config.guess/sub
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jun 26, 2024
1 parent bef4229 commit 170b14e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/src/main.mak
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ AUTOMAKE_DATA_DIRS:=$(foreach n,$(foreach n,$(subst :, ,$(shell echo $$PATH)),$(
update_autoconfig = \
for dir in $(AUTOMAKE_DATA_DIRS); do \
if test -f "$${dir}/config.sub" -a -f "$${dir}/config.guess"; then \
cp "$${dir}/config.sub" "$${dir}/config.guess" $(UNPACK_DIR)/$(1)/; \
install -p "$${dir}/config.guess" "$(UNPACK_DIR)/$(1)/"; \
install -p "$${dir}/config.sub" "$(UNPACK_DIR)/$(1)/"; \
break; \
fi; \
done
Expand Down

0 comments on commit 170b14e

Please sign in to comment.