[hackers] [scc] Remove subshell in Makefile || Roberto E. Vargas Caballero
commit aa087c6f77d443260ead06fefee9f9b39d908592
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Mar 3 18:13:53 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Mar 3 18:13:53 2017 +0100
Remove subshell in Makefile
Removing the subshell makes that make fails just at that point
and nothing else is done and the error is reported to the user
diff --git a/Makefile b/Makefile
index 0e6d3bd..a3a37e4 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -17,10 +17,12 @@ scc-driver:
ln -f driver/$(DRIVER)/scc bin/scc
$(ARCHS):
+ pwd=$PWD ;\
for i in cc1 cc2; \
do \
- (cd $$i; \
- ARCH=$_AT_ $(MAKE) -e $$i-$@ || exit); \
+ cd $$i; \
+ ARCH=$_AT_ $(MAKE) -e $$i-$@ || exit; \
+ cd $pwd ;\
done
ln -f cc1/cc1-$_AT_ bin/
ln -f cc2/cc2-$_AT_ bin/
Received on Fri Mar 03 2017 - 18:14:45 CET
This archive was generated by hypermail 2.3.0
: Fri Mar 03 2017 - 18:24:19 CET