projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: allow creating empty package feeds
[openwrt/openwrt.git]
/
scripts
/
ipkg-make-index.sh
diff --git
a/scripts/ipkg-make-index.sh
b/scripts/ipkg-make-index.sh
index a398559bd8c7da3423b16cde4e26aeeeb99b7b58..12d143a04458f7273684f2c012ab013790f1f7f5 100755
(executable)
--- a/
scripts/ipkg-make-index.sh
+++ b/
scripts/ipkg-make-index.sh
@@
-9,8
+9,10
@@
if [ -z $pkg_dir ] || [ ! -d $pkg_dir ]; then
fi
which md5sum >/dev/null 2>&1 || alias md5sum=md5
+empty=1
for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
+ empty=
name="${pkg##*/}"
name="${name%%_*}"
[[ "$name" = "kernel" ]] && continue
@@
-28,3
+30,4
@@
SHA256sum: $sha256sum\\
Description:/"
echo ""
done
+[ -n "$empty" ] && echo