summaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2013-11-28 17:55:01 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2013-11-28 17:55:01 +0000
commit0a281c8d280793344484b8508b49added6127f0a (patch)
tree64e4b502aa4ed611443c461251cd57c35c69cd57 /contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
parent0ee4e5cbebb241d4c45ca9e70844b573cacdf574 (diff)
downloadtigervnc-0a281c8d280793344484b8508b49added6127f0a.tar.gz
tigervnc-0a281c8d280793344484b8508b49added6127f0a.zip
Correct location of scripts from last commit
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5141 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'contrib/packages/rpm/el6/SOURCES/fetch_sources.sh')
-rw-r--r--contrib/packages/rpm/el6/SOURCES/fetch_sources.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/packages/rpm/el6/SOURCES/fetch_sources.sh b/contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
new file mode 100644
index 00000000..6f6d7b0f
--- /dev/null
+++ b/contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+SPEC=$1
+
+SOURCES=`grep -i "^SOURCE\d\+\s*:\s*\([fht]\+tp://.*\)" ${SPEC} | sed -e 's/^.*:[[:space:]]//'`
+for URL in ${SOURCES} ; do
+ curl -OL ${URL}
+done
+