Commit 332f1047 authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files

fix typo

parent 94eeff54
# Author: Bernhard Landauer <bernhard@manjaro.org>
pkgname=manjaro-chrootbuild
pkgver=r200.g73a966b
pkgver=r202.g94eeff5
pkgrel=1
pkgdesc="Build packages and buildlists in a chroot filesystem."
arch=('any')
......
......@@ -84,7 +84,7 @@ build_list_git() {
i=1
for p in $(cat $list); do
header "${1%-git}: $i/$num - $p"
repo_ver=$(sudo chroot ${CHROOT_DIR} pacman -Siy "{p}" 2>/dev/null | grep "Version" | head -1 | rev | cut -d: -f1 | rev | sed 's/ //')
repo_ver=$(sudo chroot ${CHROOT_DIR} pacman -Siy "${p}" 2>/dev/null | grep "Version" | head -1 | rev | cut -d: -f1 | rev | sed 's/ //')
[[ -z $repo_ver ]] && repo_ver=0
# update local pkgver
......
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