commit ed7081c7afdf90398945add7626487995269f344 parent 467032079b93d16b11eaab6125a6e02abcee9ba1 Author: sqweek <sqweek@gmail.com> Date: Sun, 21 Sep 2008 03:26:36 +0800 Use sed instead of ${foo#d} for portability. Diffstat:
mk/dir.mk | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/dir.mk b/mk/dir.mk @@ -1,6 +1,6 @@ MKSUBDIR = \ set -e; \ - targ=$@; targ=$${targ\#d}; \ + targ=`echo $@ |sed 's/^d//'`; \ for i in $$dirs; do \ export BASE=$(BASE)$$i/; \ if [ ! -d $$i ]; then \