From 32bc78a2f738ba1b066aba954b05232a7b31da1e Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Thu, 2 Mar 2017 21:29:15 +0100
Subject: [PATCH] gitpkg: Use r+ instead of w+ mode (no func. change)

---
 roles/archbuild/files/gitpkg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/archbuild/files/gitpkg b/roles/archbuild/files/gitpkg
index 0db83b2cc..4bacac6d9 100755
--- a/roles/archbuild/files/gitpkg
+++ b/roles/archbuild/files/gitpkg
@@ -109,7 +109,7 @@ class PkgbuildReader < Pkgbuild
   def initialize(*args)
     super
 
-    @bash = IO.popen ["bash"], "w+"
+    @bash = IO.popen ["bash"], "r+"
     @bash.puts "{", @contents, "} &>/dev/null"
 
     @pkgbase = read :pkgbase
-- 
GitLab