From 706f0d3f207cdd3ea0cfc7b99f8f00ac27a4ce61 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 5 Nov 2015 14:32:18 +0100 Subject: [PATCH] Update .travis.gigaclone --- .travis.gigaclone | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.gigaclone b/.travis.gigaclone index 7ff4271..11e8064 100644 --- a/.travis.gigaclone +++ b/.travis.gigaclone @@ -8,6 +8,7 @@ git config --global push.default simple tmp="$dir/tmp" mkdir $tmp cd $tmp + rdupes() { echo "Remove all duplicates" awk '!seen[$0]++' $* $dir/urllist >$dir/final @@ -18,8 +19,8 @@ rm -rf $tmp mkdir $tmp cd $tmp } + extractlog() { - tar -xzf logs.tgz cd log @@ -29,6 +30,7 @@ sed -i '/200\|206\|302\|301/!d;s/\sHTTP.*//g;s/.*\s/http:\/\/profile\.gigaset\.n echo "Remove duplicates for $f" awk '!seen[$0]++' $f>>$tmp/tmp };done +rdupes $tmp/tmp } extractbin() { @@ -46,6 +48,7 @@ url=$(echo "$file" | sed '/http/d;/\.bin/!d') for e in $url;do echo "$baseurl$e";done }; done >> $tmp/tmp +rdupes $tmp/tmp } checkurl() {