Date: Friday, August 28, 2020 @ 12:25:01
  Author: freswa
Revision: 690701

fix unquoted variables

Modified:
  gitlab-shell/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-08-28 12:24:59 UTC (rev 690700)
+++ PKGBUILD    2020-08-28 12:25:01 UTC (rev 690701)
@@ -42,7 +42,7 @@
 _srcdir="gitlab-shell-v${pkgver}"
 
 prepare() {
-  cd "${srcdir}/${_srcdir}"
+  cd ${_srcdir}
 
   patch -p1 < ../configs.patch
   # At this point config file should not contain any references to '/home/git'
@@ -49,7 +49,7 @@
 }
 
 build() {
-  cd "${srcdir}/${_srcdir}"
+  cd ${_srcdir}
 
   export CGO_CPPFLAGS="${CPPFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
@@ -60,7 +60,7 @@
 }
 
 package() {
-  cd "${srcdir}/${_srcdir}"
+  cd ${_srcdir}
 
   install -dm755 -o root -g root "${pkgdir}${_datadir}"
   install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}"
@@ -90,7 +90,7 @@
   ln -fs "${_datadir}" "${pkgdir}/${_homedir}/"
 
   # Compatibility for FS#64251
-  ln -s gitlab-shell "$pkgdir"/${_datadir}/bin/gitlab-shell-ruby
+  ln -s gitlab-shell "${pkgdir}"/${_datadir}/bin/gitlab-shell-ruby
 
   install -dm2770 -o 105 -g 105 "${pkgdir}${_homedir}/repositories"
 

Reply via email to