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

src/lib/Makefile.am

index 787efd2..fad08fa 100644 (file)
@@ -113,7 +113,7 @@ eina_amalgamation.c: $(base_sources) Makefile
        @echo "#include \"Eina.h\"" >> eina_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" ; \