view save_generated_slides.sh @ 119:9f874edd19a4

Add slide for seminar
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Tue, 15 Dec 2015 18:35:10 +0900
parents 4699c287d57d
children
line wrap: on
line source

#!/bin/sh

cd $(dirname $0)

. config/definition.sh

rsync -ax --delete --exclude .hg ${slide_root_dirname} ${save_repository_path}
cp ${index_file_name} ${save_repository_path}

mkdir -p ${save_directory_path}
cd ${save_directory_path}

hg addremove
hg add
hg commit -m "auto-Update generated slides by script"
echo "commited generated slides"