Fixed comparison for SVN info parameter
Based on @arturmartins comment in #1615 - thanks!
This commit is contained in:
2
test/fixtures/svn/working/svn
vendored
2
test/fixtures/svn/working/svn
vendored
@@ -3,7 +3,7 @@
|
||||
# If the info command is called
|
||||
# AND the parent folder contains the .svn folder
|
||||
# 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"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user