summaryrefslogtreecommitdiff
path: root/backup-tc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backup-tc.sh')
-rwxr-xr-xbackup-tc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup-tc.sh b/backup-tc.sh
index 79f235c..d1b76da 100755
--- a/backup-tc.sh
+++ b/backup-tc.sh
@@ -2,7 +2,7 @@
URL=$1
[[ $URL =~ (/?(index\.html)?(\#.*)?$) ]] && \
- URL=${URL//$BASH_REMATCH/}
+ echo $BASH_REMATCH && URL=${URL/%$BASH_REMATCH/}
OUTPUT_DIR="$2"
if [ -z "$OUTPUT_DIR" ]