]> git.madduck.net Git - etc/mrsetup.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

do not fail when .bin already exists
authormartin f. krafft <madduck@madduck.net>
Sat, 10 May 2008 11:08:56 +0000 (12:08 +0100)
committermartin f. krafft <madduck@madduck.net>
Sat, 10 May 2008 11:08:56 +0000 (12:08 +0100)
mrsetup

diff --git a/mrsetup b/mrsetup
index 7ece9b7c3b208ea4f8da6691b91805d7b031c16d..23354846d008955aaa7b3e188165fa8282988fed 100755 (executable)
--- a/mrsetup
+++ b/mrsetup
@@ -56,7 +56,7 @@ else
   echo I: cloning mr into ${MR_CODE}...
   mkdir --parent ${MR_CODE%/*}
   git clone $MR_REPO_URL $MR_CODE
-  mkdir .bin
+  mkdir --parent $BIN_DIR
   ln -s ../${MR_CODE}/mr $BIN_DIR/mr
   echo
 fi