[rtems-testing commit] cut_release: Remove trailing whitespace
Joel Sherrill
joel at rtems.org
Tue Sep 18 11:01:57 UTC 2012
Module: rtems-testing
Branch: master
Commit: 136c49267de00998622183a6007e407e861a2d59
Changeset: http://git.rtems.org/rtems-testing/commit/?id=136c49267de00998622183a6007e407e861a2d59
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Sep 18 06:05:49 2012 -0500
cut_release: Remove trailing whitespace
---
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
More information about the vc
mailing list