Skip to content

Commit

Permalink
Fix unexpected behavior for bash/ash (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzjjbb authored and P3TERX committed Jul 4, 2021
1 parent 8989aa5 commit 8af2e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ GET_INFO_HASH() {
}

CONVERSION_PATH() {
RELATIVE_PATH="${FILE_PATH#${DOWNLOAD_DIR}/}"
RELATIVE_PATH="${FILE_PATH#"${DOWNLOAD_DIR}/"}"
TASK_FILE_NAME="${RELATIVE_PATH%%/*}"
TASK_PATH="${DOWNLOAD_DIR}/${TASK_FILE_NAME}"
DEST_PATH_SUFFIX="${TASK_PATH#${ARIA2_DOWNLOAD_DIR}}"
DEST_PATH_SUFFIX="${TASK_PATH#"${ARIA2_DOWNLOAD_DIR}"}"
}

OUTPUT_LOG() {
Expand Down

0 comments on commit 8af2e31

Please sign in to comment.