Commit 796ecd40 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Update packages.yml (#3365)

parent 0b057e3e
...@@ -8,10 +8,10 @@ if [ ! -f packages.yaml ]; then ...@@ -8,10 +8,10 @@ if [ ! -f packages.yaml ]; then
fi fi
if test $1; then if test $1; then
grep -1 "^activity: $1" packages.yaml > /tmp/activity.txt grep -1 "^activity: $1" packages.yaml > /tmp/activity.txt
grep ^url: /tmp/activity.txt | cut -d' ' -f2 > /tmp/urls.txt grep ^url: /tmp/activity.txt | cut -d' ' -f2 | sort | uniq > /tmp/urls.txt
rm -f /tmp/activity.txt rm -f /tmp/activity.txt
else else
grep ^url: packages.yaml | cut -d' ' -f2 > /tmp/urls.txt grep ^url: packages.yaml | cut -d' ' -f2 | sort | uniq > /tmp/urls.txt
fi fi
if test $2; then if test $2; then
lines=$(wc -l /tmp/urls.txt | cut -d' ' -f1) lines=$(wc -l /tmp/urls.txt | cut -d' ' -f1)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment