]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Ignore symlinked packages.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 Mar 2009 10:34:27 +0000 (11:34 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 Mar 2009 10:34:27 +0000 (11:34 +0100)
tools/make-packages

index a9759f766dbd900452e814a1cae316b4265b9368..0acf545882fad4c179593e93a45a3a31dd044d90 100644 (file)
@@ -47,6 +47,7 @@ pkg_list_packages() {
        echo "#### List of softwares used to build $NAME Version: $VERSION ####"
        local package
        for i in $BASEDIR/lfs/*; do
+               [ -L "$i" ] && continue
                package=$(basename $i)
                (       unset NAME VERSION
                        eval $(pkg_info ${package})
@@ -62,6 +63,7 @@ pkg_list_packages_wiki() {
        echo "====== List of softwares used to build $NAME Version: $VERSION ======"
        local package
        for i in $BASEDIR/lfs/*; do
+               [ -L "$i" ] && continue
                package=$(basename $i)
                (       unset NAME VERSION
                        eval $(pkg_info ${package})