Merge pull request #1619 from nwinkler/fix-svn-comparison

Fixed comparison for SVN info parameter
pull/1630/head
Nils Winkler 2020-06-17 10:30:02 +02:00 committed by GitHub
commit 0186c656f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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