KasmVNC/contrib/packages/rpm/el6/SOURCES/fetch_sources.sh
2020-09-20 12:16:44 +00:00

10 lines
171 B
Bash

#!/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