Merge pull request #1619 from nwinkler/fix-svn-comparison
Fixed comparison for SVN info parameterpull/1630/head
commit
0186c656f1
|
|
@ -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