diff options
author | Silvan Jegen | 2018-05-31 14:29:42 +0200 |
---|---|---|
committer | Silvan Jegen | 2018-05-31 14:34:05 +0200 |
commit | d9e8bab2fbc11bf2a3ea616c2a3749a4a4b0f96e (patch) | |
tree | e70b4180ef7982261e3487d1da2f0b11f489920c | |
parent | 127a6bf4b7094958b95f3b3069881bc468c1bfeb (diff) | |
download | aur-d9e8bab2fbc11bf2a3ea616c2a3749a4a4b0f96e.tar.gz |
Quote script arguments
Otherwise we cannot deal with file names containing spaces.
Thanks to max at smallpdf.com for the report!
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | smallpdf | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -27,7 +27,7 @@ pkgbase = smallpdf-desktop source = smallpdf sha256sums = a8efc280b117727cd3c291ae260a8af1eea2cc45bec65789a3fc1a44f896800a sha256sums = a56b2da40fec921ee2cbad55c3767fdba20af8055082c611a4ce2ab29fed3096 - sha256sums = 98d67be42cc742004351f25aee8403310259491c49864c33decb8513f9b00103 + sha256sums = 08adf2892165a22a9ce06f16d04b4190e4a54ef46da20702e3b73cad18424133 pkgname = smallpdf-desktop @@ -3,7 +3,7 @@ pkgname=smallpdf-desktop pkgver=1.10.0 -pkgrel=1 +pkgrel=2 pkgdesc='Smallpdf desktop reader and converter' arch=(x86_64) url='https://smallpdf.com/' @@ -20,7 +20,7 @@ source=('https://download.smallpdf.com/desktop/linux/package-linux.tar.gz' 'smallpdf') sha256sums=('a8efc280b117727cd3c291ae260a8af1eea2cc45bec65789a3fc1a44f896800a' 'a56b2da40fec921ee2cbad55c3767fdba20af8055082c611a4ce2ab29fed3096' - '98d67be42cc742004351f25aee8403310259491c49864c33decb8513f9b00103') + '08adf2892165a22a9ce06f16d04b4190e4a54ef46da20702e3b73cad18424133') package() { install -dm755 ${pkgdir}/opt/smallpdf-desktop @@ -1,2 +1,2 @@ #!/bin/env sh -/opt/smallpdf-desktop/Smallpdf $@ > /dev/null +/opt/smallpdf-desktop/Smallpdf "$@" > /dev/null |