Created
August 27, 2013 18:54
-
-
Save nbargnesi/6357526 to your computer and use it in GitHub Desktop.
mongo-hacker Makefile patch for quoting source path in ln command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 7e327d2..8b229e0 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -10,4 +10,4 @@ mongo_hacker.js: ${base} ${config} ${hacks} | |
install: | |
@echo "INSTALLATION" | |
@echo "Linking MongoHacker to .mongorc.js in your home directory:" | |
- rm -f ~/.mongorc.js && ln -sf $(CURDIR)/mongo_hacker.js ~/.mongorc.js | |
+ rm -f ~/.mongorc.js && ln -sf "$(CURDIR)/mongo_hacker.js" ~/.mongorc.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment