Initial commit
This commit is contained in:
9
contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
Normal file
9
contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user