Sfoglia il codice sorgente

scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 38860
Felix Fietkau 12 anni fa
parent
commit
13f5ebaf8e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      scripts/gen-dependencies.sh

+ 1 - 1
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