[arch-commits] Commit in ogre/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Jan 25 04:00:34 UTC 2020


    Date: Saturday, January 25, 2020 @ 04:00:31
  Author: svenstaro
Revision: 555380

Fix variable quoting

Modified:
  ogre/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-25 03:59:12 UTC (rev 555379)
+++ PKGBUILD	2020-01-25 04:00:31 UTC (rev 555380)
@@ -21,7 +21,7 @@
 prepare() {
   mkdir ogre-${pkgver}/build
 
-  cp -r "$srcdir"/imgui ogre-${pkgver}/Components/Overlay/src/
+  cp -r "${srcdir}"/imgui ogre-${pkgver}/Components/Overlay/src/
 }
 
 build() {
@@ -42,10 +42,10 @@
 
   cd ogre-${pkgver}/build
 
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="${pkgdir}" install
 
-  mv ${pkgdir}/usr/bin/SampleBrowser ${pkgdir}/usr/bin/OgreSampleBrowser
-  install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  mv "${pkgdir}"/usr/bin/SampleBrowser "${pkgdir}"/usr/bin/OgreSampleBrowser
+  install -Dm644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list