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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jun 22 21:26:45 UTC 2021


    Date: Tuesday, June 22, 2021 @ 21:26:44
  Author: svenstaro
Revision: 966951

Defined global variables outside of function

Otherwise they might not always be available in all cases when running some makepkg subcommands.

Modified:
  wasmer/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-22 20:00:01 UTC (rev 966950)
+++ PKGBUILD	2021-06-22 21:26:44 UTC (rev 966951)
@@ -15,11 +15,11 @@
 sha512sums=('c02b97075212a496a4c30a9cfcd6b8ef89cb08bf3e5f9f20bf5f83c63bedb5744e4976ee3641310f6a44d911d670285c8b67c3cb9725acdd632ef5f8880ba4b9')
 options=('staticlibs')
 
+WASMER_INSTALL_PREFIX=/usr
+ENABLE_LLVM=1
+
 prepare() {
   cd "$pkgname-$pkgver"
-
-  export WASMER_INSTALL_PREFIX=/usr
-  export ENABLE_LLVM=1
 }
 
 build() {



More information about the arch-commits mailing list