From: raster Date: Sat, 24 Apr 2010 14:31:36 +0000 (+0000) Subject: apparently fbsd is unaware of expr substr... X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~1310 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=145d98648711d0817253fad8bb6c7585a6371008;p=profile%2Fivi%2Fedje.git apparently fbsd is unaware of expr substr... git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@48276 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index b21f195..bec0f28 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -111,7 +111,7 @@ edje_amalgamation.c: $(base_sources) Makefile @echo "#include " >> edje_amalgamation.c @for f in $(base_sources); do \ - if [ `expr substr $$f 1 1` != '/' ]; then \ + if [ `echo $$f | sed -e 's/^...\(.\).*/\1/'` != '/' ]; then \ file="$(srcdir)/$$f" ; \ else \ file="$$f" ; \