diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2013-11-28 17:55:01 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2013-11-28 17:55:01 +0000 |
commit | 0a281c8d280793344484b8508b49added6127f0a (patch) | |
tree | 64e4b502aa4ed611443c461251cd57c35c69cd57 /contrib/packages/rpm/el6/SOURCES/fetch_sources.sh | |
parent | 0ee4e5cbebb241d4c45ca9e70844b573cacdf574 (diff) | |
download | tigervnc-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.sh | 9 |
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 + |