The ca-bundle.pem file, acc. to smack manifest of the package, should
be labeled as System::Shared. The concat-cacerts.sh script, when encountered
exsting bundle, was removing it, creating new file which resulted in the
smack label to be (possibly) changed to the label under the script was run.
With this change, the file is no longer removed, preserving its Smack label.
Change-Id: Ieb230151f064689585f980e231781dded3dc3c2f
if [ -s $CRT_PATH ]
then
- rm $CRT_PATH
+ echo "" > $CRT_PATH
fi
for i in `find $SRC_PATH -maxdepth 1 -type f | sort`