]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- pass all args to rpm-specdump to have bconds present
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Feb 2008 22:14:05 +0000 (22:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    repackage.sh -> 1.23

repackage.sh

index b91b7a50b5c22a1413b4da390c9288d7fba2f97c..8ccb2146be5ad8c2a1269a48ddc2b63431e8aabc 100644 (file)
@@ -43,7 +43,7 @@ rpmbuild() {
 specfile="${1%.spec}.spec"; shift
 set -- "$specfile" "$@"
 
-tmp=$(rpm-specdump $specfile | awk '$2 == "_target_cpu" {print $3}')
+tmp=$(rpm-specdump "$@" | awk '$2 == "_target_cpu" {print $3}')
 if [ "$tmp" ]; then
        TARGET="$tmp"
 fi
This page took 0.031983 seconds and 4 git commands to generate.