]> 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 die if unbound
authormartin f. krafft <madduck@madduck.net>
Sat, 10 May 2008 00:21:37 +0000 (01:21 +0100)
committermartin f. krafft <madduck@madduck.net>
Sat, 10 May 2008 00:21:37 +0000 (01:21 +0100)
mrsetup

diff --git a/mrsetup b/mrsetup
index 41173f9d6ebfd07f2cd306335c748ca1bd719a57..d52b4c0e66079ac2993227f3fd82e551ecf016be 100755 (executable)
--- a/mrsetup
+++ b/mrsetup
@@ -19,7 +19,7 @@ MR_FGIT=.fgits/mr.git
 MR=.mr
 BIN_DIR=.bin
 
-if [ -z "$SSH_AUTH_SOCK" ]; then
+if [ -z "${SSH_AUTH_SOCK:-}" ]; then
   echo E: '$SSH_AUTH_SOCK' is not set. >&2
   exit 1
 fi