Browse Source

Die if sibling does not exist

Alois Mahdal 10 years ago
parent
commit
113cac1106
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotfiles/gittum/bin/sibling

+ 1
- 0
dotfiles/gittum/bin/sibling View File

89
 
89
 
90
 test -n "$project" || usage
90
 test -n "$project" || usage
91
 test -n "$sibling" || die "could not find older sibling"
91
 test -n "$sibling" || die "could not find older sibling"
92
+test -d "$sibling" || die "sibling does not exist: $sibling"
92
 
93
 
93
 
94
 
94
 ## body
95
 ## body