#!/bin/sh

if [ $# -ne 1 ]
  then
    echo "Usage: generate.sh <destination path>"
    exit 1
fi

mkdir -p temp

cp -r configTokens.json configure.js configure.sh generate.sh install.sh LICENSE package.json processes.json README.md rekognition_bot.js start.sh stop.sh upgrade.sh wpm.json AWS_Rekognition.png package-lock.json temp

cd temp
tar czf $1/software.tar.gz *
cd ..
rm -r temp
