Commit a4be770c authored by Alexis  CRISCUOLO's avatar Alexis CRISCUOLO
Browse files

3.1

parent 04d9f1b8
......@@ -33,7 +33,10 @@
# = VERSIONS = #
# ============ #
# #
VERSION=3.0.211103acjg #
VERSION=3.1.211118acjg #
# + fixed bug when downloading into an output directory #
# #
# VERSION=3.0.211103acjg #
# + weh files completed with original md5 checksum(s) #
# + performs MD5-based instead of gzip-based file integrity assessment #
# #
......@@ -207,7 +210,7 @@ then
[ ! -w $OUTDIR ] && echoxit "no write permission (option -o): $OUTDIR" ;
else
if mkdir $OUTDIR &>/dev/null
then echo "creating $OUTDIR" ;
then echo -e "$(chrono)\t\tcreating $OUTDIR\n" ;
else echoxit "unable to create directory (option -o): $OUTDIR" ;
fi
fi
......@@ -234,7 +237,7 @@ then
wt=0; while [ $(( $wt * $wt )) -lt $NTHREADS ]; do let wt++ ; done
WAITIME=$wt;
fi
[ $WAITIME -lt 1 ] && WAITIME=1;
[ $WAITIME -lt 1 ] && WAITIME=1;
##############################################################################################################
......@@ -426,7 +429,7 @@ do
then
echo -e "[$C/$N]\t\t[31m[FAIL] incorrect MD5 checksum: $(sed 's/ .*//' $OUTDIR/$FQGZ.weh)\033[0m" >&2 ;
else
echo -e "[$C/$N]\t\t$(sed 's/ .*//' $OUTDIR/$FQGZ.weh)\t$FQGZ\t[$(fb $(stat -c %s $FQGZ))]" ;
echo -e "[$C/$N]\t\t$(sed 's/ .*//' $OUTDIR/$FQGZ.weh)\t$FQGZ\t[$(fb $(stat -c %s $OUTDIR/$FQGZ))]" ;
fi
rm -f $OUTDIR/$FQGZ.weh ;
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment