From 00a122b33abbe9596fa12807e73bb00f1a227d5e Mon Sep 17 00:00:00 2001 From: Madhavan Srinivasan Date: Tue, 22 Aug 2017 15:12:56 +0530 Subject: build.sh: fix the script fail on "dev" input --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 450d0f2..25c6038 100755 --- a/build.sh +++ b/build.sh @@ -150,10 +150,10 @@ rm -rf $TMPFILE if [ "$3" == "dev" ]; then if [ "$2" == "POWER8" ]; then - $bs_value=32 + bs_value=32 else - $bs_value=256 + bs_value=256 fi -$1/dd if=./ima_catalog.bin bs=${bs_value}K count=1 > ./ima_catalog.temp.bin +dd if=./ima_catalog.bin bs=${bs_value}K count=1 > ./ima_catalog.temp.bin $1/ecc --inject ./ima_catalog.temp.bin --output ./ima_catalog.bin.ecc --p8 fi -- cgit v1.2.3