Skip to content
Snippets Groups Projects
Commit 9f45f240 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Fixed problem with an absolute path as BUILDDIR.

Rev: Makefile:1.25
parent b2af1996
No related branches found
No related tags found
No related merge requests found
# #
# $Id: Makefile,v 1.24 2000/01/13 13:09:14 noring Exp $ # $Id: Makefile,v 1.25 2000/02/14 23:42:03 mast Exp $
# #
# Meta Makefile # Meta Makefile
# #
...@@ -40,10 +40,11 @@ force_configure: ...@@ -40,10 +40,11 @@ force_configure:
builddir: builddir:
@builddir="$(BUILDDIR)"; \ @builddir="$(BUILDDIR)"; \
{ \ { \
IFS='/'; dir=""; \ IFS='/'; \
dir=`echo "$$builddir" | sed -e 's|[^/].*||'`; \
for d in $$builddir; do \ for d in $$builddir; do \
dir="$$dir$$d"; \ dir="$$dir$$d"; \
test -z "$$dir" -o -d "$$dir" || mkdir "$$dir" || exit 1; \ test x"$$dir" = x -o -d "$$dir" || mkdir "$$dir" || exit 1; \
dir="$$dir/"; \ dir="$$dir/"; \
done; \ done; \
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment