fixes to subroutines, increased max priority
authorhackbard <hackbard>
Fri, 26 Aug 2005 21:53:00 +0000 (21:53 +0000)
committerhackbard <hackbard>
Fri, 26 Aug 2005 21:53:00 +0000 (21:53 +0000)
doc/CHANGELOG
scripts/Build-Distro
scripts/subroutines

index f673817..a755580 100644 (file)
@@ -1,3 +1,8 @@
+*) 2005-08-27
+
+- fixes to create_buildorder subroutine
+- higher max priority
+
 *) 2005-08-24
 
 - hdw-get fixes
 *) 2005-08-24
 
 - hdw-get fixes
index c38bc35..e9dc2ce 100755 (executable)
@@ -6,7 +6,7 @@
 # 
 
 # define max priority
 # 
 
 # define max priority
-max=13
+max=15
 stages="0 1"
 no_src_del=""
 
 stages="0 1"
 no_src_del=""
 
index 705af2f..d62ac8f 100755 (executable)
@@ -244,6 +244,7 @@ create_buildorder() {
                                for package in ./packages/$dir/[!C]*; do
 
                pkg=`basename $package`
                                for package in ./packages/$dir/[!C]*; do
 
                pkg=`basename $package`
+               [ -f $package -a "$pkg" != "`basename $dir`" ] && continue
                if [ -d $package -a -f $package/$pkg ] ; then
 
                [ -z "`echo $delpackages | grep $dir/$pkg`" ] && \
                if [ -d $package -a -f $package/$pkg ] ; then
 
                [ -z "`echo $delpackages | grep $dir/$pkg`" ] && \