ObjPascal: curl zip file from github for dep.
authorJoel Martin <github@martintribe.org>
Mon, 14 Mar 2016 03:00:33 +0000 (22:00 -0500)
committerJoel Martin <github@martintribe.org>
Mon, 14 Mar 2016 03:00:33 +0000 (22:00 -0500)
objpascal/Makefile

index 472e3ed..a3b46b0 100644 (file)
@@ -23,7 +23,8 @@ all: $(patsubst %.pas,%,$(STEPS))
 # Downloaded units
 pas-readline: pas-readline/src/readline.pas
 pas-readline/src/readline.pas:
-       git clone https://github.com/hansiglaser/pas-readline pas-readline
+       curl -L https://github.com/hansiglaser/pas-readline/archive/master.tar.gz | tar xzf -
+       mv pas-readline-master pas-readline
 
 #regexpr: regexpr/Source/RegExpr.pas
 #regexpr/Source/RegExpr.pas: regexpr-linux.patch