summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvan Jegen2018-05-31 14:29:42 +0200
committerSilvan Jegen2018-05-31 14:34:05 +0200
commitd9e8bab2fbc11bf2a3ea616c2a3749a4a4b0f96e (patch)
treee70b4180ef7982261e3487d1da2f0b11f489920c
parent127a6bf4b7094958b95f3b3069881bc468c1bfeb (diff)
downloadaur-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--.SRCINFO2
-rw-r--r--PKGBUILD4
-rwxr-xr-xsmallpdf2
3 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d54effcb08fa..47e00d5c6b74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -27,7 +27,7 @@ pkgbase = smallpdf-desktop
source = smallpdf
sha256sums = a8efc280b117727cd3c291ae260a8af1eea2cc45bec65789a3fc1a44f896800a
sha256sums = a56b2da40fec921ee2cbad55c3767fdba20af8055082c611a4ce2ab29fed3096
- sha256sums = 98d67be42cc742004351f25aee8403310259491c49864c33decb8513f9b00103
+ sha256sums = 08adf2892165a22a9ce06f16d04b4190e4a54ef46da20702e3b73cad18424133
pkgname = smallpdf-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 077e7313e818..dfb57427d2dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
diff --git a/smallpdf b/smallpdf
index 746e92b19e08..2d0b6ee4882b 100755
--- a/smallpdf
+++ b/smallpdf
@@ -1,2 +1,2 @@
#!/bin/env sh
-/opt/smallpdf-desktop/Smallpdf $@ > /dev/null
+/opt/smallpdf-desktop/Smallpdf "$@" > /dev/null