From 4465658d8b3efe2de98f33507dc9a29cb2e55349 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 29 2011 03:35:42 +0000 Subject: Update cli_getRepoStatus.sh. --- diff --git a/Scripts/Functions/cli_getRepoStatus.sh b/Scripts/Functions/cli_getRepoStatus.sh index cc62c27..066320e 100755 --- a/Scripts/Functions/cli_getRepoStatus.sh +++ b/Scripts/Functions/cli_getRepoStatus.sh @@ -36,8 +36,7 @@ function cli_getRepoStatus { local PATTERN='^( |A|C|D|I|M|R|X|\?|!|~).+$' # Output status. Use subversion `status' command to retrive the - # first character in the output. Discard standard error output. - # Otherwise, if the location doesn't exist. - svn status "$LOCATION" | sed -r "s,${PATTERN},\1," + # first character in the output. + svn status "$LOCATION" | sed -r "s/${PATTERN}/\1/" }