summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9b14538)
We have the NOGIT_DIR variable to hold the ".nogit" string. Repeating
the string in the error message here set up some fragility if the
variable's value were ever to change in the future.
url="$1"
if [ -e $NOGIT_DIR ]; then
url="$1"
if [ -e $NOGIT_DIR ]; then
- echo "Error: .nogit already exists. Cowardly refusing to re-clone."
+ echo "Error: $NOGIT_DIR already exists. Cowardly refusing to re-clone."