This commit is contained in:
parent
7002bc714e
commit
dcf8f6c649
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ EXTENSION=.json
|
|||
FILENAME=$(echo "$URL" | sed -E 's|^https?://||' | sed -E 's|^www\.||' | sed 's|/$||' | sed 's|/|-|g')
|
||||
|
||||
# Add extension to the filename
|
||||
FILENAME="${FILENAME}${EXTENSION}"
|
||||
FILENAME="${FILENAME}"
|
||||
|
||||
# Make sure we don't end up with just an extension
|
||||
if [ "$FILENAME" = "${EXTENSION}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue