From e04c1c8cdc4ff687a154a202d109d8ad8f798bdc Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 10 2012 18:05:07 +0000 Subject: Update `Functions/Tuneup/tuneup.sh' file. --- diff --git a/Scripts/Bash/Functions/Tuneup/tuneup.sh b/Scripts/Bash/Functions/Tuneup/tuneup.sh index 4f2c80b..cfbe20f 100755 --- a/Scripts/Bash/Functions/Tuneup/tuneup.sh +++ b/Scripts/Bash/Functions/Tuneup/tuneup.sh @@ -61,11 +61,18 @@ function tuneup { for ACTIONVAL in "$@";do # Sanitate non-option arguments to be sure they match the - # directory convenctions stablished by centos-art.sh script + # directory conventions established by centos-art.sh script # against source directory locations in the working copy. ACTIONVAL=$(cli_checkRepoDirSource ${ACTIONVAL}) - # Syncronize changes between repository and working copy. At + # Verify source location absolute path. It should point to + # existent directories under version control inside the + # working copy. Otherwise, if it doesn't point to an existent + # file under version control, finish the script execution with + # an error message. + cli_checkFiles ${ACTIONVAL} -d --is-versioned + + # Synchronize changes between repository and working copy. At # this point, changes in the repository are merged in the # working copy and changes in the working copy committed up to # repository.