diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-18 06:05:49 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-18 06:05:49 -0500 |
commit | 136c49267de00998622183a6007e407e861a2d59 (patch) | |
tree | 728a27605b9d2d0aa5b16ee7ed85a353fb81dc1a /release-helpers | |
parent | b821b301eb42e51b280e3fb65a1f7a1c40f5e552 (diff) |
cut_release: Remove trailing whitespace
Diffstat (limited to 'release-helpers')
-rwxr-xr-x | release-helpers/cut_release | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/release-helpers/cut_release b/release-helpers/cut_release index 40889d7..eff7801 100755 --- a/release-helpers/cut_release +++ b/release-helpers/cut_release @@ -3,12 +3,10 @@ # Cut a snapshot of a module in CVS # # Example Invocations: -# # -# $Id: cut_release,v 1.11 2004/07/29 16:05:40 joel Exp $ +# TBD # - usage() { echo "$0 [options]" @@ -23,7 +21,7 @@ usage() echo " -v -- be verbose" echo echo "Must be run from top level directory of checked out source." - echo + echo exit 1 } @@ -222,10 +220,10 @@ fi # tag the current source cd ${base} -cvs -d ${cvs_root} tag ${current_tag} `grep -v "^D$" CVS/Entries | cut -d'/' -f2` +cvs -d ${cvs_root} tag ${current_tag} `grep -v "^D$" CVS/Entries | cut -d'/' -f2` if test $? -ne 0 ; then echo Unable to tag source - exit 1 + exit 1 fi # export the current source @@ -233,7 +231,7 @@ cd ${export_dir} cvs -d ${cvs_root} export -r ${current_tag} -d ${release_name}-${current} ${module_name} if test $? -ne 0 ; then echo Unable to export source - exit 1 + exit 1 fi # Now start dealing with the exported source @@ -281,7 +279,7 @@ if [ ${previous} != "NA" ] ; then fi -# This is where the module has the opportunity to do actions after +# This is where the module has the opportunity to do actions after # the tarball is made. This can be used to capture host information, # sign the tarball, etc. # @@ -301,7 +299,7 @@ cd .. if [ ${previous} != "NA" ] ; then if [ -r ${release_name}-${current}/ChangeLog ] ; then find ${release_name}-${previous} ${release_name}-${current} -type f | \ - grep -v ChangeLog | xargs -e rm -rf + grep -v ChangeLog | xargs -e rm -rf diff -N -P -r -c ${release_name}-${previous} ${release_name}-${current} \ >${reldir_curr}/${release_name}-ChangeLog-${previous}-${current}.diff |