put file path in quotes, it might contain spaces #2

Merged
gandalf merged 1 commit from fix-if-statement into master 2024-09-17 16:42:47 +00:00
Collaborator

Right now, file paths with spaces (e.g. Verwaltungsklagen/22_Nami nbg hbf Gewahrsam/19-Zustimmung-ohne-Verhandlung.pdf) throw this error:

/home/user/code/Sipgate-CLI/fax.sh: line 66: [: too many arguments

This is because without quotes, the filename is interpreted as several words instead of one path. This PR fixes it :)

Right now, file paths with spaces (e.g. `Verwaltungsklagen/22_Nami nbg hbf Gewahrsam/19-Zustimmung-ohne-Verhandlung.pdf`) throw this error: ``` /home/user/code/Sipgate-CLI/fax.sh: line 66: [: too many arguments ``` This is because without quotes, the filename is interpreted as several words instead of one path. This PR fixes it :)
missytake added 1 commit 2024-09-16 07:46:09 +00:00
gandalf merged commit 3073455259 into master 2024-09-17 16:42:47 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gandalf/Sipgate-CLI#2
No description provided.