[bfa-firmware] forgot to reference $RPM_SOURCE_DIR

Kyle McMartin kyle at fedoraproject.org
Thu Jan 17 19:31:07 UTC 2013


commit 863ddd582cc1b6ff2186f7a6e9cddaea1798b787
Author: Kyle McMartin <kmcmarti at redhat.com>
Date:   Thu Jan 17 14:30:51 2013 -0500

    forgot to reference $RPM_SOURCE_DIR

 bfa-firmware.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bfa-firmware.spec b/bfa-firmware.spec
index 0a90352..51c1845 100644
--- a/bfa-firmware.spec
+++ b/bfa-firmware.spec
@@ -27,7 +27,7 @@ unpack_bfa_firmware() {
 	dir=$3
 	installversion=${4:-$version}
 
-	tar xvf $1
+	tar xvf $RPM_SOURCE_DIR/$1
 	pushd $3
 	for i in cbfw ctfw ct2fw; do
 		if [ -f $i.bin ]; then


More information about the scm-commits mailing list