From 5c230a0e9745c8081ad48e8de153446226695293 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 19 2012 17:19:02 +0000 Subject: Update `Functions/Svn/svn_isVersioned.sh' file. --- diff --git a/Scripts/Bash/Functions/Svn/svn_isVersioned.sh b/Scripts/Bash/Functions/Svn/svn_isVersioned.sh index a8ad6ac..5795417 100755 --- a/Scripts/Bash/Functions/Svn/svn_isVersioned.sh +++ b/Scripts/Bash/Functions/Svn/svn_isVersioned.sh @@ -27,9 +27,14 @@ function svn_isVersioned { + local LOCATION=$1 + if [[ $LOCATION == '' ]];then + LOCATION=${ACTIONVAL} + fi + # Use subversion to determine whether the location is under # version control or not. - ${SVN} info $ACTIONVAL > /dev/null 2>&1 + ${SVN} info $LOCATION > /dev/null 2>&1 # Verify subversion exit status and print output. echo $?