Changeset 918 for branches/1.0/Makefile


Ignore:
Timestamp:
05/22/13 20:12:21 (8 years ago)
Author:
olahaye
Message:

[Makefile] Avoid failing to move tarballs to /tmp if we are already in /tmp (identical source/dest)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/Makefile

    r917 r918  
    5353tarball-gzip:   $(TMPDIR)/.monarch_buildroot ${REQUIRED}
    5454        @( cd ${TMPDIR}/.monarch_buildroot; tar zcf $(TMPDIR)/ganglia_jobmonarch-${VERSION}.tar.gz ./ganglia_jobmonarch-${VERSION} )
    55         @mv -f ${TMPDIR}/ganglia_jobmonarch-${VERSION}.tar.gz ..
     55        @mv -f ${TMPDIR}/ganglia_jobmonarch-${VERSION}.tar.gz .. 2> /dev/null || true
    5656        @echo "Wrote: ../ganglia_jobmonarch-${VERSION}.tar.gz"
    5757
    5858tarball-bzip:   $(TMPDIR)/.monarch_buildroot ${REQUIRED}
    5959        @( cd ${TMPDIR}/.monarch_buildroot; tar jcf ${TMPDIR}/ganglia_jobmonarch-${VERSION}.tar.bz2 ./ganglia_jobmonarch-${VERSION} )
    60         @mv -f ${TMPDIR}/ganglia_jobmonarch-${VERSION}.tar.bz2 ..
     60        @mv -f ${TMPDIR}/ganglia_jobmonarch-${VERSION}.tar.bz2 .. 2> /dev/null || true
    6161        @echo "Wrote: ../ganglia_jobmonarch-${VERSION}.tar.bz2"
    6262
Note: See TracChangeset for help on using the changeset viewer.