move variable initializations to top of file
authorLudwig Nussel <ludwig.nussel@suse.de>
Fri, 22 Feb 2008 13:42:57 +0000 (13:42 +0000)
committerLudwig Nussel <ludwig.nussel@suse.de>
Fri, 22 Feb 2008 13:42:57 +0000 (13:42 +0000)
build

diff --git a/build b/build
index 052e91e..d7aaecd 100755 (executable)
--- a/build
+++ b/build
@@ -20,6 +20,27 @@ icecream=0
 definesnstuff=()
 repos=()
 
+DO_INIT=true
+CLEAN_BUILD=false
+SRCDIR=
+BUILD_JOBS=
+ABUILD_TARGET_ARCH=
+CREATE_BASELIBS=
+USEUSEDFORBUILD=
+LIST_STATE=
+XENIMAGE=
+XENSWAP=
+XENMEMORY=
+BUILD_INIT_BUILDSYSTEM=init_buildsystem
+RUNNING_IN_XEN=
+RPMLIST=
+RELEASE=
+REASON=
+NOROOTFORBUILD=
+LOGFILE=
+KILL=
+CHANGELOG=
+
 export PATH=$BUILD_DIR:$PATH
 
 # This is for insserv
@@ -300,27 +321,6 @@ function create_baselibs {
     fi
 }
 
-DO_INIT=true
-CLEAN_BUILD=false
-SRCDIR=
-BUILD_JOBS=
-ABUILD_TARGET_ARCH=
-CREATE_BASELIBS=
-USEUSEDFORBUILD=
-LIST_STATE=
-XENIMAGE=
-XENSWAP=
-XENMEMORY=
-BUILD_INIT_BUILDSYSTEM=init_buildsystem
-RUNNING_IN_XEN=
-RPMLIST=
-RELEASE=
-REASON=
-NOROOTFORBUILD=
-LOGFILE=
-KILL=
-CHANGELOG=
-
 detect_xen_2nd_stage()
 {
     if ! test "$0" = "/.build/build" ; then