Commit 46752035 authored by Natanael Copa's avatar Natanael Copa

testing/vim-rust: avoid fork in global scope

parent 8621da1c
......@@ -15,7 +15,6 @@ install=""
subpackages=""
source="https://github.com/rust-lang/rust.vim/archive/$_commit.zip"
_vimver="$(. ../../main/vim/APKBUILD; echo $pkgver | sed 's/\.//;s/\..*//')"
_builddir="rust.vim-$_commit"
build() {
......@@ -23,6 +22,7 @@ build() {
}
package() {
_vimver="$(. ../../main/vim/APKBUILD; echo $pkgver | sed 's/\.//;s/\..*//')"
mkdir -p "$pkgdir"/usr/share/vim/vim$_vimver
cp -r $srcdir/$_builddir/*/ $pkgdir/usr/share/vim/vim$_vimver
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment