Jeroen van Meeuwen | 5 Mar 2009 23:56
Favicon
Gravatar

unity/scripts

 unity/scripts/respin.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a5e3f910cc15c9de7b77a30cdd9779f6353967c4
Author: Jeroen van Meeuwen (Fedora Unity) <kanarip <at> fedoraunity.org>
Date:   Thu Mar 5 23:55:59 2009 +0100

    Do this and that in the correct order

diff --git a/unity/scripts/respin.sh b/unity/scripts/respin.sh
index 218ce47..1b4650a 100755
--- a/unity/scripts/respin.sh
+++ b/unity/scripts/respin.sh
 <at>  <at>  -225,14 +225,14  <at>  <at>  for version in ${VERSIONS}; do
             # during this loop.
             for spin in `${revisor_cmd} --config /etc/revisor-unity/${real_version}-live-respin.conf
--list-models | grep "^ ${real_version}-${arch}-" | awk '{print $1}'`; do

+                # If we're just listing what we were about to spin, echo and continue
+                [ $JUST_LIST -eq 1 ] && echo $spin && continue
+
                 echo "Creating $spin"

                 # And today is... ?
                 datestamp=`date +'%Y%m%d'`

-                # If we're just listing what we were about to spin, echo and continue
-                [ $JUST_LIST -eq 1 ] && echo $spin && continue
-
(Continue reading)


Gmane