10seconds_install: Check instead that the tar file exists.

This commit is contained in:
Ole Tange 2014-01-03 19:13:38 +01:00
parent b73488d761
commit 79c05280e3
3 changed files with 10 additions and 82 deletions

View file

@ -33,8 +33,8 @@ if test "$GET" = ""; then
fi fi
LATEST=$($GET http://ftpmirror.gnu.org/parallel | perl -ne '/(parallel-\d{8})/ and print $1."\n"' | sort | $TAIL -n1) LATEST=$($GET http://ftpmirror.gnu.org/parallel | perl -ne '/(parallel-\d{8})/ and print $1."\n"' | sort | $TAIL -n1)
if test \! -d $LATEST/src/; then if test \! -e $LATEST.tar.bz2; then
# Source dir does not exist # Source tar does not exist
rm -f $LATEST.tar.bz2 $LATEST.tar.bz2.sig rm -f $LATEST.tar.bz2 $LATEST.tar.bz2.sig
$GET http://ftpmirror.gnu.org/parallel/$LATEST.tar.bz2 > $LATEST.tar.bz2 $GET http://ftpmirror.gnu.org/parallel/$LATEST.tar.bz2 > $LATEST.tar.bz2
$GET http://ftpmirror.gnu.org/parallel/$LATEST.tar.bz2.sig > $LATEST.tar.bz2.sig $GET http://ftpmirror.gnu.org/parallel/$LATEST.tar.bz2.sig > $LATEST.tar.bz2.sig

View file

@ -204,90 +204,18 @@ cc:Sandro Cazzaniga <kharec@mandriva.org>,
Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>, Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>,
Jesse Alama <jesse.alama@gmail.com> Jesse Alama <jesse.alama@gmail.com>
Subject: GNU Parallel 20131222 ('玉兔 Mandela') released Subject: GNU Parallel 20120122 ('') released
GNU Parallel 20131222 ('玉兔 Mandela') has been released. It is GNU Parallel 20140122 ('') has been released. It is
available for download at: http://ftp.gnu.org/gnu/parallel/ available for download at: http://ftp.gnu.org/gnu/parallel/
New in this release: New in this release:
* GNU Parallel now has a motto: For people who live life in the * HaploClique uses GNU Parallel
parallel lane. https://github.com/armintoepfer/haploclique
* Detect if the buffer dir $TMPDIR runs out of space. This changes a * 30 Cool Open Source Software I Discovered in 2013
central piece of code, making this release alpha quality. http://www.cyberciti.biz/open-source/30-cool-best-open-source-softwares-of-2013/
* --keep-order --(n)onall will sort according to the sshlogin.
* Detection number of CPUs on DEC Tru64.
* GNU sql: --list-tables for sqlite3.
* GNU Parallel was cited in: Variational Message-Passing: Extension to
Continuous Variables and Applications in Multi-Target Tracking
http://www.ics.uci.edu/~ajfrank/pubs/thesis.pdf
* GNU Parallel was cited in: Genome Assembly: Scaffolding Guided by
Related Genomes
https://www.duo.uio.no/handle/10852/37431
* GNU Parallel was cited in: Metagenomic analysis of Mariana Trench
sediment samples
http://repositorio.ul.pt/handle/10451/9436
* GNU Parallel was cited in: Diacritization, automatic segmentation
and labeling for Levantine Arabic speech
http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6642556
* GNU Parallel was cited in: Investigation of emotion classification
using speech rhythm metrics
http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6642591
* GNU Parallel was cited in: A Rhythm-Based Analysis of Arabic Native
and Non-Native Speaking Styles
http://www.ijsps.com/uploadfile/2013/1128/20131128014413279.pdf
* GNU Parallel was cited in: Evolutionary optimization of wetlands
design
http://dl.acm.org/citation.cfm?id=2480400
* GNU Parallel was cited (unfortunately with wrong citation) in:
RDBMS vs NoSQL: Performance and Scaling Comparison
http://www.epcc.ed.ac.uk/sites/default/files/Dissertations/2012-2013/RDBMS%20vs%20NoSQL%20-%20Performance%20and%20Scaling%20Comparison.pdf
* GNU Parallel was used (without proper citation) in: Comprehensive
Analysis Pipeline for Discovery of Human Genetic Variation
http://www.google.com/patents/US20130311106
* Encrypt and decrypt in parallel with GPG
http://blog.tkassembled.com/412/encrypt-and-decrypt-in-parallel-with-gpg/
* Using GNU Parallel to create a SVM classifier
http://ivanyu.me/blog/2013/12/01/parallel/
* Parallel xz compression
http://anthon.home.xs4all.nl/rants/2013/parallel_xz/
* Got CPUs to burn? Put 'em to work with GNU parallel
http://baoilleach.blogspot.dk/2013/11/got-cpus-to-burn-put-em-to-work-with.html
* Parallel rsync
http://pastebin.com/JmnB9ffq
* Gnu Parallel for fun and profit
https://gist.github.com/celoyd/f7eb55ad69c9b33fd8c3
* Parallelization of Exploitation
http://rantsideasstuff.com/parallelization-of-exploitation/
* Running assemblies in parallel
https://khmer-protocols.readthedocs.org/en/v0.8.3/metagenomics/4-assemble.html
* Procesando la contabilidad del PP
http://www.neorazorx.com/2013/07/procesando-la-contabilidad-del-pp.html
* Mon make à moi (French)
http://www.slideshare.net/lindenb/mon-make-moi-tout-sauf-galaxy
* Bug fixes and man page updates. * Bug fixes and man page updates.

View file

@ -19,7 +19,7 @@ copy_and_test() {
# scp to each polarhome machine do not work. Use cat # scp to each polarhome machine do not work. Use cat
# Avoid the stupid /etc/issue.net banner with -oLogLevel=quiet # Avoid the stupid /etc/issue.net banner with -oLogLevel=quiet
echo '### Run the test on '$H echo '### Run the test on '$H
cat `which parallel` | ssh -oLogLevel=quiet $H 'cat > bin/p.tmp && chmod 755 bin/p.tmp && mv bin/p.tmp bin/parallel; bin/perl bin/parallel echo Works on ::: '$H cat `which parallel` | ssh -oLogLevel=quiet $H 'cat > bin/p.tmp && chmod 755 bin/p.tmp && mv bin/p.tmp bin/parallel; bin/perl bin/parallel echo Works on {} ::: '$H
} }
export -f copy_and_test export -f copy_and_test
stdout parallel -j0 -k --timeout 80 --delay 0.1 --tag -v copy_and_test {} ::: $POLAR stdout parallel -j0 -k --timeout 80 --delay 0.1 --tag -v copy_and_test {} ::: $POLAR