diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-01 21:57:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-01 21:57:28 +0000 |
commit | 4643b181bdf1d9121f9d6d4214e991e7b9f52d30 (patch) | |
tree | c5615b9d242314847c555255c4e57f195c3444ad /libc/Makefile | |
parent | 01d1ae3769f7fb1fa66dbc0789a61b05fee3452f (diff) |
Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' for
proper error checking
-Erik
Diffstat (limited to 'libc/Makefile')
-rw-r--r-- | libc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/Makefile b/libc/Makefile index ee8dfef75..295386c2b 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -43,7 +43,7 @@ $(LIBNAME): subdirs shared: $(TOPDIR)lib/$(LIBNAME) @rm -rf tmp @mkdir tmp - @(cd tmp; CC=$(CC) LD=$(LD) NM=$(NM) AR=$(AR) /bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh) + @(cd tmp && CC=$(CC) LD=$(LD) NM=$(NM) AR=$(AR) /bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh) if [ -s ./tmp/libgcc-need.a ] ; then \ $(CC) -g $(LDFLAGS) -shared -o $(SHARED_FULLNAME) \ -Wl,-soname,$(SHARED_MAJORNAME) -Wl,--whole-archive \ @@ -58,8 +58,8 @@ shared: $(TOPDIR)lib/$(LIBNAME) install -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(SHARED_FULLNAME) install -m 644 $(SHARED_FULLNAME) $(TOPDIR)lib - (cd ../lib; ln -sf $(SHARED_FULLNAME) libc.so); - (cd ../lib; ln -sf $(SHARED_FULLNAME) $(SHARED_MAJORNAME)); + (cd ../lib && ln -sf $(SHARED_FULLNAME) libc.so); + (cd ../lib && ln -sf $(SHARED_FULLNAME) $(SHARED_MAJORNAME)); halfclean: |