diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-02-15 23:53:36 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-02-15 23:53:36 -0500 |
| commit | 261aaa8cf687be76e67fe5423f59450365769889 (patch) | |
| tree | 5c4524e11dc4fee7d9f5c2e6535bd8a6695a592a | |
| parent | 05fb9ff701f04100664c8aaac3c483ac5d1e480c (diff) | |
| download | vim-cfg-261aaa8cf687be76e67fe5423f59450365769889.tar.gz vim-cfg-261aaa8cf687be76e67fe5423f59450365769889.tar.xz | |
Prevent gen-setup.sh from picking up on the current directory being a git repo... might break your configuration if you don't have a .git folder in the directory gen-setup.sh is being run in. beware
| -rwxr-xr-x | gen-setup.sh | 2 | ||||
| -rwxr-xr-x | setup.sh | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/gen-setup.sh b/gen-setup.sh index 878a603..e8d9cdf 100755 --- a/gen-setup.sh +++ b/gen-setup.sh @@ -18,7 +18,7 @@ columate() { printf "%s" $_tabs } -REPOS="$(find . -iname .git -type d | sed -e's/\/\.git$//' -e's_./__')" +REPOS="$(find . -iname .git -type d | tail -n+2 | sed -e's/\/\.git$//' -e's_./__')" WD="$(pwd)" @@ -14,9 +14,6 @@ clone() { fi cd $WD } -DIR="." -URL="https://git.riedstra.us/mitch/vim-cfg" -clone DIR="bundle/jinja2-syntax" URL="https://github.com/Glench/Vim-Jinja2-Syntax.git" clone |
