shithub: scc

Download patch

ref: 1b5b0926886f290142d670201be2f1ee6c8fd538
parent: 51ab7caf2cfe53f509d758b154ad01f315da1ce2
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Mar 4 07:39:18 EST 2017

Fix commit aa087c6f7

--- a/Makefile
+++ b/Makefile
@@ -17,12 +17,12 @@
 	ln -f driver/$(DRIVER)/scc bin/scc
 
 $(ARCHS):
-	pwd=$PWD ;\
+	pwd=$$PWD ;\
 	for i in cc1 cc2; \
 	do \
 		cd $$i; \
 		ARCH=$@ $(MAKE) -e $$i-$@ || exit; \
-		cd $pwd ;\
+		cd $$pwd ;\
 	done
 	ln -f cc1/cc1-$@ bin/
 	ln -f cc2/cc2-$@ bin/