Permalink
Browse files

select ftp by default on Darwin, as wget isn't present by default

  • Loading branch information...
1 parent a239866 commit 7b79862f190d47d06d54a2594acf14f68328b905 @avsm avsm committed Mar 22, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 Makefile
View
@@ -1,5 +1,11 @@
OCPBUILD ?= ./_obuild/unixrun ./boot/ocp-build.boot
-WGET ?= wget
+OS = $(shell uname -s)
+ifeq ($(OS),Darwin)
+WGET ?= ftp
+else
+WGET ?= wget
+endif
+
TARGET = ocp-get ocp-get-server
.PHONY: all

0 comments on commit 7b79862

Please sign in to comment.