mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 22:44:04 +01:00
quote srcdir to avoid failure in case path contains white spaces
This commit is contained in:
parent
637a5ce5e2
commit
9fa07dc0d4
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = jlink-software-and-documentation
|
||||
pkgdesc = Segger JLink software & documentation pack for Linux
|
||||
pkgver = 6.62a
|
||||
pkgrel = 4
|
||||
pkgrel = 5
|
||||
epoch = 24
|
||||
url = https://www.segger.com/jlink-software.html
|
||||
install = jlink-software-and-documentation.install
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=jlink-software-and-documentation
|
||||
pkgver=6.62a
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
epoch=24
|
||||
pkgdesc="Segger JLink software & documentation pack for Linux"
|
||||
arch=('i686' 'x86_64')
|
||||
|
|
@ -52,7 +52,7 @@ package(){
|
|||
# Create links where needed
|
||||
ln -s /opt/SEGGER/JLink/Doc/LicenseIncGUI.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
sed -i 's/0x//g' 99-jlink.rules
|
||||
patch -i ${srcdir}/99-jlink.rules.patch 99-jlink.rules
|
||||
patch -i "${srcdir}/99-jlink.rules.patch" 99-jlink.rules
|
||||
install -Dm644 99-jlink.rules "${pkgdir}/usr/lib/udev/rules.d/"
|
||||
rm -f "${pkgdir}/etc/udev/rules.d/99-jlink.rules"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue