Explorar el Código

bugfix on find command

Guangshuo Chen hace 7 años
padre
commit
9030aa539b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

1
 .PHONY:all %.all install %.install clean %.clean cleandist %.cleandist release
1
 .PHONY:all %.all install %.install clean %.clean cleandist %.cleandist release
2
 
2
 
3
 SUBMAKE:=make -s -C
3
 SUBMAKE:=make -s -C
4
-SUBMAKABLE:=$(shell find -mindepth 2 -name '[Mm]akefile' | sed 's%^./%%;s%/[^/]*%%')
4
+SUBMAKABLE:=$(shell find . -mindepth 2 -name '[Mm]akefile' | sed 's%^./%%;s%/[^/]*%%')
5
 define submake
5
 define submake
6
 	@tput setaf 3
6
 	@tput setaf 3
7
 	@echo make[$1] $2
7
 	@echo make[$1] $2