How about: tar c -C /home/ci/hwloc-gitclone -h -f - doc/doxygen-doc | tar x -C /home/ci/hwloc-gitclone/build/hwloc-gitclone -f -
On Apr 7, 2014, at 5:36 PM, Brice Goglin <brice.gog...@inria.fr> wrote: > Works on my Linux but fails on Solaris: > tar -c -C /home/ci/hwloc-gitclone -h -f - doc/doxygen-doc | tar -x -C > /home/ci/hwloc-gitclone/build/hwloc-gitclone -f - > tar: /dev/rmt/0: No such file or directory > > > > Le 07/04/2014 23:29, Jeff Squyres (jsquyres) a écrit : >> --- a/config/distscript.sh >> +++ b/config/distscript.sh >> @@ -69,7 +69,7 @@ fi >> # Trivial helper function >> doit() { >> echo $* >> - $* >> + eval $* >> } >> >> echo "*** Copying doxygen-doc tree to dist..." >> @@ -77,7 +77,7 @@ echo "*** Directory: srcdir: $srcdir, distdir: $distdir, >> pwd: >> doit mkdir -p $distdir/doc/doxygen-doc >> doit chmod -R a=rwx $distdir/doc/doxygen-doc >> doit rm -rf $distdir/doc/doxygen-doc >> -doit cp -rpf $srcdir/doc/doxygen-doc $distdir/doc >> +doit "tar -c -C $srcdir -h -f - doc/doxygen-doc | tar -x -C $distdir -f -" >> >> echo "*** Copying new README" >> ls -lf $distdir/README > > _______________________________________________ > hwloc-devel mailing list > hwloc-de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/