]> git.ekhem.eu.org Git - gdrive_proxy.git/commitdiff
Remove CRLF from accounts' names.
authorJakub Czajka <jczajka@google.com>
Sat, 11 May 2024 22:43:53 +0000 (00:43 +0200)
committerJakub Czajka <jczajka@google.com>
Sat, 11 May 2024 22:43:53 +0000 (00:43 +0200)
account.sh

index 190fc75591b3a0eba733e90ba50b68b41cc9ce7b..bf960b8352baf0e55d027cf8a96df3750880f8ab 100755 (executable)
@@ -6,6 +6,7 @@
 
 format_accounts() {
   echo ${gdrive_accounts} \
+    | tr --delete '\n\r' \
     | xargs --replace={} \
             --delimiter=" " echo "<option value='{}'>{}</option>"
 }