Permalink
Browse files

some systems think 'mv a a' is an error

git-svn-id: https://svn.r-project.org/R/trunk@31936 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent 57be301 commit bfe6497ab6ec568a7431af26969d911dd72138d9 ripley committed Nov 16, 2004
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile.in
View
@@ -149,7 +149,9 @@ dist-unix: distdir
-chmod -R go-w $(distdir)
distname=`$(srcdir)/tools/GETDISTNAME`; \
dirname=`echo $${distname} | sed -e s/_.*//`; \
- mv $(distdir) $${dirname}; \
+ if test $(distdir) != $${dirname} ; then \
+ mv $(distdir) $${dirname}; \
+ fi ; \
GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $${dirname}; \
rm -rf $${dirname}
dist-win:

0 comments on commit bfe6497

Please sign in to comment.