Change-Id: I6c551b2596eee2e73c973cb46268f49c24a1126a
Signed-off-by: Amritanshu Pandia <a.pandia1@samsung.com>
if [ -d $DIR_COV1 ];
then
- chsmack -a "*" $(find $DIR_COV1 -type d)
+ chsmack -a "*" -r $DIR_COV1
fi
if [ -d $DIR_COV2 ];
then
- chsmack -a "*" $(find $DIR_COV2 -type d)
+ chsmack -a "*" -r $DIR_COV2
fi
if [ -d $DIR_COV3 ];
then
- chsmack -a "*" $(find $DIR_COV3 -type d)
+ chsmack -a "*" -r $DIR_COV3
fi
if [ -d $DIR_COV4 ];
then
- chsmack -a "*" $(find $DIR_COV4 -type d)
+ chsmack -a "*" -r $DIR_COV4
fi
function KillPackage {
if [ -d $DIR_COV1 ];
then
- chsmack -a "*" $(find $DIR_COV1 -type d)
+ chsmack -a "*" -r $DIR_COV1
fi
if [ -d $DIR_COV2 ];
then
- chsmack -a "*" $(find $DIR_COV2 -type d)
+ chsmack -a "*" -r $DIR_COV2
fi
if [ -d $DIR_COV3 ];
then
- chsmack -a "*" $(find $DIR_COV3 -type d)
+ chsmack -a "*" -r $DIR_COV3
fi
if [ -d $DIR_COV4 ];
then
- chsmack -a "*" $(find $DIR_COV4 -type d)
+ chsmack -a "*" -r $DIR_COV4
fi