From c19d26d7529a6b4c3ac571f08bf9582fe9113deb Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Jun 10 2014 14:13:01 +0000 Subject: moved url to var for easier customization over time --- 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