diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-08-22 15:12:56 +0530 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-08-22 15:12:56 +0530 |
commit | 00a122b33abbe9596fa12807e73bb00f1a227d5e (patch) | |
tree | fbdbfe070ae4d5c0a78397fa70299504b4a73c82 | |
parent | e309d32892713c09b730b62d028521c8b25687a9 (diff) | |
download | ima-catalog-00a122b33abbe9596fa12807e73bb00f1a227d5e.tar.gz ima-catalog-00a122b33abbe9596fa12807e73bb00f1a227d5e.zip |
build.sh: fix the script fail on "dev" input
-rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |