Skip to content

Commit 87b2e4f

Browse files
committed
Makefile: Don't add _install_tmp to itself on make install.
When OpenWrt builder uses make install, some conditions cause make install to include _install_tmp as a submodule and causes cp to error with cp: _install_tmp/<file>.py is the same file as <full-path>/<file>.py
1 parent 0b52419 commit 87b2e4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ install:
1111
else \
1212
for d in $$(find -maxdepth 1 -type d ! -name ".*"); do \
1313
echo $$d; \
14+
[ "$$d" = "./_install_tmp" ] && continue; \
1415
(cd $$d; sh -c $(CMD)); \
1516
done \
1617
fi

0 commit comments

Comments
 (0)