path: root/CMAKE
diff options
authorHans Johnson <>2016-07-09 16:18:08 (GMT)
committerHans Johnson <>2016-07-09 16:19:33 (GMT)
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')
1 files changed, 0 insertions, 0 deletions
diff --git a/CMAKE/tmp.kXjd1oSjcp b/CMAKE/tmp.kXjd1oSjcp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/CMAKE/tmp.kXjd1oSjcp