Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

Commit d9a2ae7

Browse files
committed
Fix finding MonoDevelop url
1 parent f15361b commit d9a2ae7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

generate.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ cd tmp
66

77
echo "Downloading metadata..."
88
{
9-
URL="https://www.github.com$(
9+
URLS="$(
1010
curl https://github.com/fusion809/PKGBUILDs/releases | \
1111
grep 'monodevelop' | \
1212
grep -o '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
1313
sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//' \
1414
)"
1515
} &> /dev/null
16+
for URL in $URLS
17+
do
18+
URL="https://www.github.com$URL"
19+
done
1620

1721
echo "Downloading MonoDevelop... ($URL)"
1822
wget -O monodevelop.tar.xz $URL &> /dev/null

0 commit comments

Comments
 (0)