summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 1b7584f..f74a75d 100755
--- a/build.sh
+++ b/build.sh
@@ -240,7 +240,9 @@ build_tarball() {
fi
local allpkgs="${packages}"
test -d $pkgdir && for pkg in $pkgdir/*.ipk; do
- allpkgs="${allpkgs} $pkg"
+ if [ -e "$pkg" ]; then
+ allpkgs="${allpkgs} $pkg"
+ fi
done
local cmd="scripts/build_rootfs.sh"