Skip to content
This repository

rebar clear fix #25

Merged
merged 1 commit into from over 2 years ago

3 participants

oribrost Zvi Yurii Rashkovskii
oribrost

When pulling erlzmq2 and running rebar clean an error occurs, this commit fixes it

Zvi

Can u send them a pull request?

Yurii Rashkovskii yrashk merged commit 0471f08 into from November 06, 2011
Yurii Rashkovskii yrashk closed this November 06, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 04, 2011
oribrost Prevent crashes when cleaning without building 3d30b73
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  c_src/Makefile
6  c_src/Makefile
@@ -14,7 +14,11 @@ endif
14 14
 all: $(DEPS)/zeromq2/src/.libs/libzmq.a
15 15
 
16 16
 clean:
17  
-	@cd $(DEPS)/zeromq2; make clean
  17
+	if test -e $(DEPS)/zeromq2/Makefile; then \
  18
+		cd $(DEPS)/zeromq2; make clean; \
  19
+	else \
  20
+		true; \
  21
+	fi
18 22
 
19 23
 distclean:
20 24
 	@rm -rf $(DEPS)
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.