From 7d956b52e716a3c1969cbe5da9d98cbca6ec6c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 10 Aug 2022 13:16:11 +0800 Subject: [PATCH] Removed ending " -" for downloaded files --- bash/bashrc/rbashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 219f621..5f4ddc1 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -106,7 +106,7 @@ function __crypte { } __CFILE="" function __cacheDownload { - MLINK=$( echo "$1" | md5sum ) + MLINK=$( echo "$1" | md5sum | cut -d' ' -f1 ) __CFILE=$BASH_SDIR/$MLINK