aboutsummaryrefslogtreecommitdiff
path: root/CMAKE
diff options
context:
space:
mode:
authorHans Johnson <hans-johnson@uiowa.edu>2016-07-09 11:18:08 -0500
committerHans Johnson <hans-johnson@uiowa.edu>2016-07-09 11:19:33 -0500
commit9c7f84bd600f53c59f89f16ad745e3be5cab2f07 (patch)
treececbca4ae14e2eff829cfd9627c83237d2f339b6 /CMAKE
parent78d32fd2a6d030d388981f096014c764ff7898f5 (diff)
STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier. =SCRIPT==================================================================== if which tempfile &>/dev/null; then TEMPMAKER=tempfile elif which mktemp &>/dev/null; then TEMPMAKER=mktemp else echo "Cannot find tempfile program." 2>&1 exit 1 fi MYTEMP=$($TEMPMAKER) trap 'rm -f $MYTEMP' SIGINT SIGTERM stripit() { echo "stripping $1" sed 's/[ \t]*$//' "$1" > $MYTEMP cp $MYTEMP "$1" } if [ $# -gt 0 ]; then while [ "$1" != "" ]; do stripit $1 shift done else while read -t 2; do stripit $REPLY done fi rm $MYTEMP =================================================
Diffstat (limited to 'CMAKE')
-rw-r--r--CMAKE/tmp.kXjd1oSjcp0
1 files changed, 0 insertions, 0 deletions
diff --git a/CMAKE/tmp.kXjd1oSjcp b/CMAKE/tmp.kXjd1oSjcp
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/CMAKE/tmp.kXjd1oSjcp