aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-10-15 08:59:55 +0200
committerMarkus Meier <maekke@gentoo.org>2009-10-15 08:59:55 +0200
commit69697fc34fba08f9dfcd6b67ed6271a0d0c85b4c (patch)
tree07e85b86de9d64e25b2fdb332b2e5e6ae3948361 /scripts
parentadd some scripts, which might be useful for others too (diff)
downloadmaekke-69697fc34fba08f9dfcd6b67ed6271a0d0c85b4c.tar.gz
maekke-69697fc34fba08f9dfcd6b67ed6271a0d0c85b4c.tar.bz2
maekke-69697fc34fba08f9dfcd6b67ed6271a0d0c85b4c.zip
fix last-package detection
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rdep2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rdep b/scripts/rdep
index 68bb6e1..bc91d33 100755
--- a/scripts/rdep
+++ b/scripts/rdep
@@ -73,7 +73,7 @@ for p in $(grep -v '^[B]' ${tmp} | sort -r); do
if [[ ${last_pn} != ${category}/${pn} ]]; then
[[ -z ${use} ]] && echo "=${cpv}" || echo "=${cpv}[${use}]"
fi
+ last_pn="${category}/${pn}"
fi
- last_pn="${category}/${pn}"
done
rm "${tmp}"