Browse files

Fix nosemacs glue script bug

  • Loading branch information...
1 parent ad93818 commit 7ac00bbe271ca0389d2de1a07bdde0ac40d956a1 @jpellerin committed Apr 22, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 test.sh
View
7 test.sh
@@ -1,7 +1,10 @@
#!/bin/bash
-. ~/.local/bin/virtualenvwrapper.sh
-workon nose2
+
+command -v nose2 >/dev/null >&2 || {
+ source /usr/local/bin/virtualenvwrapper.sh
+ workon nose2
+}
nargs=""
skip="no"

0 comments on commit 7ac00bb

Please sign in to comment.