diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-21 20:59:02 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-21 20:59:02 +0000 |
commit | f63d13c9bdb8f4c38b3a1e9fea0dc13a74d25af1 (patch) | |
tree | b26e3639409e411f8ee16ba26e9f77e45a589ba8 /Makefile | |
parent | 86b1012977b0b83fab49b056470439f2fbae2327 (diff) | |
download | anaconda-f63d13c9bdb8f4c38b3a1e9fea0dc13a74d25af1.tar.gz anaconda-f63d13c9bdb8f4c38b3a1e9fea0dc13a74d25af1.tar.xz anaconda-f63d13c9bdb8f4c38b3a1e9fea0dc13a74d25af1.zip |
smarter handling of cvsroot
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -110,8 +110,9 @@ create-snapshot: @tag=`cvs status Makefile | awk ' /Sticky Tag/ { print $$3 } '` 2> /dev/null; \ [ x"$$tag" = x"(none)" ] && tag=HEAD; \ [ x"$$TAG" != x ] && tag=$$TAG; \ - echo "*** Pulling off $$tag!"; \ - cd /tmp ; cvs -Q -d $(CVSROOT) export -r $$tag anaconda || echo "Um... export aborted." + cvsroot=`cat CVS/Root` 2>/dev/null; \ + echo "*** Pulling off $$tag from $$cvsroot!"; \ + cd /tmp ; cvs -Q -d $$cvsroot export -r $$tag anaconda || echo "Um... export aborted." @cd /tmp/anaconda ; sed -e "s/@@VERSION@@/$(VERSION)/g" -e "s/@@RELEASE@@/$(SNAPRELEASE)/g" < anaconda.spec.in > anaconda.spec @mv /tmp/anaconda /tmp/anaconda-$(VERSION) @cd /tmp ; tar --bzip2 -cSpf anaconda-$(VERSION).tar.bz2 anaconda-$(VERSION) |