diff options
author | Brian Picciano <bgp2396@bellsouth.net> | 2013-10-16 20:33:04 -0400 |
---|---|---|
committer | Brian Picciano <bgp2396@bellsouth.net> | 2013-10-16 20:33:04 -0400 |
commit | 1742e570f47b947bc61a23f606e2d147d1fc64a5 (patch) | |
tree | a6e6e5c025c3a48b6d1eb4a5cedd248f708654de /res | |
parent | 19eba1a5f25c1c27216fcef20ef16241a235e54f (diff) |
got rid of res/go+
Diffstat (limited to 'res')
-rwxr-xr-x | res/go+ | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/res/go+ b/res/go+ deleted file mode 100755 index 835a72d..0000000 --- a/res/go+ +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -SEARCHING_FOR=GOPROJROOT -ORIG_DIR=$(pwd) - -STOPSEARCH=0 -SEARCH_DIR=$ORIG_DIR -while [ $STOPSEARCH = 0 ]; do - - RES=$( find $SEARCH_DIR -maxdepth 1 -type f -name $SEARCHING_FOR | \ - grep -P "$SEARCHING_FOR$" | \ - head -n1 ) - - if [ "$RES" = "" ]; then - if [ "$SEARCH_DIR" = "/" ]; then - STOPSEARCH=1 - fi - cd .. - SEARCH_DIR=$(pwd) - else - export GOPATH=$SEARCH_DIR:$GOPATH - STOPSEARCH=1 - fi -done - -cd "$ORIG_DIR" -exec go $@ |