fixes to subroutines, increased max priority
[hdw-linux/hdw-linux.git] / scripts / subroutines
index 705af2f..d62ac8f 100755 (executable)
@@ -244,6 +244,7 @@ create_buildorder() {
                                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`" ] && \