Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

improve names of dist tarballs

git-svn-id: https://svn.r-project.org/R/trunk@31560 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
commit 5f1929916d28c923f9e674a84ae14145b60e75f1 1 parent ebfc3b6
authored October 22, 2004
6  Makefile.in
@@ -152,8 +152,10 @@ dist-unix: distdir
152 152
 	-chmod -R a+r $(distdir)
153 153
 	-chmod -R go-w $(distdir)
154 154
 	distname=`$(srcdir)/tools/GETDISTNAME`; \
155  
-	  GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $(distdir)
156  
-	rm -rf $(distdir)
  155
+	  dirname=`echo $${distname} | sed -e s/_.*//`; \
  156
+	  mv $(distdir) $${dirname}; \
  157
+	  GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $${dirname}; \
  158
+	  rm -rf $${dirname}
157 159
 dist-win:
158 160
 distdir: $(DISTFILES) vignettes
159 161
 	@rm -rf $(distdir)
3  tools/GETDISTNAME
@@ -16,8 +16,9 @@ TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
16 16
     if test "${rev}" = "Under development (unstable)"; then
17 17
       res="R-devel_"${y}-${m}-${d}
18 18
     else
  19
+      rev=`echo ${rev} | tr [A-Z] [a-z]`
19 20
       res="R-${rev}_"${y}-${m}-${d}
20 21
     fi
21 22
   fi
22 23
   echo ${res}
23  
-)
  24
+)

0 notes on commit 5f19299

Please sign in to comment.
Something went wrong with that request. Please try again.