Fixed comparison for SVN info parameter
Based on @arturmartins comment in #1615 - thanks!pull/1619/head
parent
29858b8b93
commit
107cfe5daf
|
|
@ -3,7 +3,7 @@
|
||||||
# If the info command is called
|
# If the info command is called
|
||||||
# AND the parent folder contains the .svn folder
|
# AND the parent folder contains the .svn folder
|
||||||
# THEN return the current path, similar to what `svn info` does
|
# THEN return the current path, similar to what `svn info` does
|
||||||
if [[ "$1" = "info" ]] && [[ -d "../.svn" ]]; then
|
if [[ "$1" == "info" ]] && [[ -d "../.svn" ]]; then
|
||||||
echo "$PWD"
|
echo "$PWD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue