[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5200: cosmetics: whitespace prettyprinting

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Mon, 29 Nov 2010 10:23:31 -0000

------------------------------------------------------------
revno: 5200
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-11-29 11:20:45 +0100
message:
  cosmetics: whitespace prettyprinting
modified:
  tools/maintainer/bzr-update-hipl
  tools/maintainer/scptar
  tools/maintainer/sync-all
  tools/maintainer/update-html-howto


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'tools/maintainer/bzr-update-hipl'
--- tools/maintainer/bzr-update-hipl    2010-11-26 21:27:47 +0000
+++ tools/maintainer/bzr-update-hipl    2010-11-29 10:20:45 +0000
@@ -14,8 +14,7 @@
 
 # Update to the latest version and check out what patches need to be generated
 #
-if test -x  $TMP_DIR
-then
+if test -x  $TMP_DIR; then
     cd $TMP_DIR/hipl-bzr/$BRANCH
     bzr update
 else
@@ -28,7 +27,7 @@
     cd $BRANCH
 fi
 
-VERSION=$(grep '^AC_INIT' configure.ac|cut -d'[' -f 3|cut -d']' -f1)
+VERSION=$(grep '^AC_INIT' configure.ac | cut -d'[' -f 3 | cut -d']' -f1)
 
 # Generate a ChangeLog file
 #

=== modified file 'tools/maintainer/scptar'
--- tools/maintainer/scptar     2010-07-04 17:54:18 +0000
+++ tools/maintainer/scptar     2010-11-29 10:20:45 +0000
@@ -55,8 +55,7 @@
 
 ######################## main program #######################################
 
-if [ $# != 2 ]
-then
+if [ $# != 2 ]; then
     die "$USAGE"
 fi
 

=== modified file 'tools/maintainer/sync-all'
--- tools/maintainer/sync-all   2010-11-28 21:07:00 +0000
+++ tools/maintainer/sync-all   2010-11-29 10:20:45 +0000
@@ -14,15 +14,15 @@
 "
 
 COMMANDS="
-cd /tmp;
-sudo rm -rf trunk;
-rm hipl.tar.gz;
+cd /tmp
+sudo rm -rf trunk
+rm hipl.tar.gz
 wget http://hipl.hiit.fi/hipl/hipl.tar.gz &&
-tar xvzf hipl.tar.gz &&
-cd trunk &&
-autoreconf --install &&
-./configure &&
-make bin syncrepo"
+    tar xvzf hipl.tar.gz &&
+    cd trunk &&
+    autoreconf --install &&
+    ./configure &&
+    make bin syncrepo"
 
 #set -e
 
@@ -42,26 +42,22 @@
 # fc11-i386           blacktemple
 # fc11-x86_64         stonebreaker
 
-if test $# != 0
-then
+if test $# != 0; then
     HOSTS="$@"
 fi
 
 echo "--- Pinging all hosts ---"
 
-for HOST in $HOSTS
-do
+for HOST in $HOSTS; do
     ping -c 2 $HOST
 done
 
 echo "--- Executing command on each host ---"
 
-time for HOST in $HOSTS
-do
+time for HOST in $HOSTS; do
     echo "--- Host: $HOST ---"
     ping -c 2 $HOST
-    if test $? = 0
-    then
+    if test $? = 0; then
         ssh $HOST $COMMANDS
     else
         echo "Not responding, skipping"

=== modified file 'tools/maintainer/update-html-howto'
--- tools/maintainer/update-html-howto  2010-02-20 21:17:29 +0000
+++ tools/maintainer/update-html-howto  2010-11-29 10:20:45 +0000
@@ -8,20 +8,18 @@
 
 set -e
 
-if ! test -d $TMP_DIR
-then
-  mkdir $TMP_DIR 2>/dev/null
+if ! test -d $TMP_DIR; then
+    mkdir $TMP_DIR 2> /dev/null
 fi
 
-if ! test -d $OUTPUT_DIR
-then
-  mkdir $OUTPUT_DIR 2>/dev/null
+if ! test -d $OUTPUT_DIR; then
+    mkdir $OUTPUT_DIR 2> /dev/null
 fi
 
 touch $OUTPUT_DIR/DO_NOT_EDIT_THESE_MANUALLY.GENERATED_AUTOMATICALLY
 cp -r $BZR_HIPL_CACHE/$REVISION/doc $TMP_DIR
 cd $TMP_DIR/doc
-#xmlto -o manual html HOWTO.xml 2>/dev/null
+#xmlto -o manual html HOWTO.xml 2> /dev/null
 #cp -r manual/* $OUTPUT_DIR
 make
 cp -r howto-html/* $OUTPUT_DIR

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5200: cosmetics: whitespace prettyprinting - noreply