diff --git a/get_sources.sh b/get_sources.sh index 4cb6c5a..fad8828 100755 --- a/get_sources.sh +++ b/get_sources.sh @@ -9,6 +9,7 @@ # # Might want to drop this in ~/bin/ and chmod u+x it +surl="https://git.centos.org/sources/" pn=$(basename `pwd`) f=.${pn}.metadata @@ -25,7 +26,7 @@ while read a ; do touch $fname else if [ ! -e ${fname} ]; then - curl https://git.centos.org/sources/${pn}/${br}/${fsha} -o ${fname} + curl ${surl}/${pn}/${br}/${fsha} -o ${fname} else echo "${fname} exists. skipping" fi