summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-08-22 15:12:56 +0530
committerMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-08-22 15:12:56 +0530
commit00a122b33abbe9596fa12807e73bb00f1a227d5e (patch)
treefbdbfe070ae4d5c0a78397fa70299504b4a73c82
parente309d32892713c09b730b62d028521c8b25687a9 (diff)
downloadima-catalog-00a122b33abbe9596fa12807e73bb00f1a227d5e.tar.gz
ima-catalog-00a122b33abbe9596fa12807e73bb00f1a227d5e.zip
build.sh: fix the script fail on "dev" input
-rwxr-xr-xbuild.sh6
1 files 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
OpenPOWER on IntegriCloud