apparently fbsd is unaware of expr substr...
authorraster <raster>
Sat, 24 Apr 2010 14:31:36 +0000 (14:31 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Apr 2010 14:31:36 +0000 (14:31 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@48276 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Makefile.am

index b21f195..bec0f28 100644 (file)
@@ -111,7 +111,7 @@ edje_amalgamation.c: $(base_sources) Makefile
        @echo "#include <edje_private.h>" >> 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" ; \