aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-11-19 00:03:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-11-19 00:03:34 +0000
commit73e5ad61ec47136ca804164d518a3bba42e88c09 (patch)
tree4e7ca968f8441ea187d2d809cd71b2a4b82ac1b1
parent0c39cb9e05541727055bf33c707a39acfcef868f (diff)
downloadmaster-187ad058-73e5ad61ec47136ca804164d518a3bba42e88c09.tar.gz
master-187ad058-73e5ad61ec47136ca804164d518a3bba42e88c09.tar.bz2
master-187ad058-73e5ad61ec47136ca804164d518a3bba42e88c09.zip
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38860 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/gen-dependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh
index 889255a167..85962e74b2 100755
--- a/scripts/gen-dependencies.sh
+++ b/scripts/gen-dependencies.sh
@@ -31,5 +31,5 @@ for kmod in `find $TARGETS -type f -name \*.ko`; do
egrep -a '^depends=' | \
sed -e 's,^depends=,,' -e 's/,/\n/g' | \
awk '{ print $1 ".ko" }'
- rm -f $tmp
done | sort -u
+rm -f $tmp