]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blobdiff - scripts/subroutines
fixed fai file copying
[hdw-linux/hdw-linux.git] / scripts / subroutines
index 705af2f3999e7ae91b1fcb1f0ee5648487194d33..d62ac8fd5e8a011ba02aa360d2d31cec130ac6a1 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`" ] && \