#! /bin/sh

if [ $# -gt 0 ]; then
    SRCNAME=$1
else
    SRCNAME=`pwd | xargs basename`
fi

mv BlinkAU/BlinkAU_*.xml mp_auCoder/SVMWeights/
rmdir BlinkAU

cp ~/Dev/CERT/AdditionalAUs/AdditionalAUs3/AdditionalAUs3_* mp_auCoder/SVMWeights/

rm mp_auCoder/SVMWeights/Unilaterals_*.xml

cp ~/Dev/CERT/Build/mp_auCoder/KernelExport/kernels-96x96/*.[hc]* mp_auCoder/kernels-96x96/

#cp -r ~/Dev/CERT/Build/Deception/s014_test .

cp -r ../Deception_Extras/* .
#tar -xzf s014_test_out.tgz
#rm s014_test_out.tgz

mv ../ThirdPartyLibraries .

echo "Zip command: zip -r ../${SRCNAME}.zip . -q -x \*.DS_Store"
zip -r ../${SRCNAME}.zip . -q -x \*.DS_Store

mv ThirdPartyLibraries ..
