浏览代码

bugfix on find command

Guangshuo Chen 7 年之前
父节点
当前提交
9030aa539b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -1,7 +1,7 @@
1 1
 .PHONY:all %.all install %.install clean %.clean cleandist %.cleandist release
2 2
 
3 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 5
 define submake
6 6
 	@tput setaf 3
7 7
 	@echo make[$1] $2