Skip to content

Instantly share code, notes, and snippets.

@itiut
Created June 9, 2014 07:53
Show Gist options
  • Save itiut/08b72007ced23c2c0958 to your computer and use it in GitHub Desktop.
Save itiut/08b72007ced23c2c0958 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -eux
BIN_DIR=$KUGENUMA51_HOME/bin
SRC_DIR=$KUGENUMA51_HOME/src
REPOSITORY=tpch-mysql
REPO_DIR=$SRC_DIR/$REPOSITORY
if [ ! -d $REPO_DIR ]; then
cd $SRC_DIR
git clone https://github.com/itiut/$REPOSITORY.git
fi
cd $REPO_DIR
git reset --hard
git clean -fd
git pull
BIN_DIR=$BIN_DIR SRC_DIR=$SRC_DIR ./install-dbgen.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment