1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:43:09 +02:00

[backfire] merge r22980

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22981 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-09-08 05:47:18 +00:00
parent 9d03cfb32e
commit dd98ec61c9

View File

@ -12,7 +12,8 @@ TARGETDIR="${1}"
PKGARCH= PKGARCH=
for pkg in $TOPDIR/packages/*.ipk; do for pkg in $TOPDIR/packages/*.ipk; do
if [ -f "$pkg" ]; then if [ -f "$pkg" ]; then
PKGARCH="${pkg##*_}" PKGARCH="${pkg##*/}"
PKGARCH="${PKGARCH#*_*_}"
PKGARCH="${PKGARCH%.ipk}" PKGARCH="${PKGARCH%.ipk}"
[ "$PKGARCH" = all ] || break [ "$PKGARCH" = all ] || break
fi fi