applied, pushed. On 06/11/2014 04:45 PM, Pat Riehecky wrote: > From: Pat Riehecky <riehecky at fnal.gov> > > --- > return_disttag.sh | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/return_disttag.sh b/return_disttag.sh > index f7dc610..f850356 100755 > --- a/return_disttag.sh > +++ b/return_disttag.sh > @@ -73,6 +73,9 @@ nvr1="${pkg%.src.rpm}" > mydist="XXXjsdf9ur7qlkasdh4gygXXX" > nvr2=$(rpm --define "dist $mydist" -q --specfile "SPECS/$packagename.spec" --qf '%{n}-%{v}-%{r}\n' 2>/dev/null | head -n 1) > > +# clean up SRPM, since it is only used for its name > +rm -f ${nvr2} >/dev/null 2>&1 > + > #use our placeholder dist to split the nvr > head=${nvr2%$mydist*} > > -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh GnuPG Key : http://www.karan.org/publickey.asc