Fix text file busy error when calling sub scripts
Changing the file permission immediately followed
by running the script results in text file busy
error intermittently.
Change-Id: Ib1aa2273135cb42a8837af2b5a3aa630ca61dd9e
Issue-ID: AAF-519
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
diff --git a/bin/caservicecontainer/import.sh b/bin/caservicecontainer/import.sh
index 27d5059..7fa8909 100755
--- a/bin/caservicecontainer/import.sh
+++ b/bin/caservicecontainer/import.sh
@@ -50,7 +50,6 @@
-password $TPM_PRK_PASSWORD
cd $WORKDIR
- chmod 755 softhsmconfig.sh
./softhsmconfig.sh $SRK_HANDLE $key_id $key_label $upin $sopin $SoftHSMv2SlotID
else
@@ -86,7 +85,6 @@
# 4. Calling the functionalities of the sample application
cd $WORKDIR
-chmod 755 application.sh
./application.sh $key_label $SoftHSMv2SlotID $upin $cert_id
# 5. Cleanup