From a0a9d726fdfe757edcc430434f2133a549268027 Mon Sep 17 00:00:00 2001 From: sears Date: Sun, 21 Feb 2010 17:04:30 +0000 Subject: [PATCH] install.sh script for yroots git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@605 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe --- install.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..673a6fa --- /dev/null +++ b/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash +mkdir -p ~/stuff/lib/ +mkdir -p ~/stuff/include/ + +cp build/liblogstore_client.so ~/stuff/lib/ +cp network.h datatuple.h tcpclient.h ~/stuff/include/ +cp sherpa/LSMPersistentStoreImpl.cc sherpa/LSMPersistentStoreImpl.h ~/stuff/sherpa_logstore/ + + +echo ' in the yroot, do this: ' + +echo ' pushd /usr/local/include ; sudo ln -s /home/sears/stuff/include/*.h . ; popd ' +echo ' pushd /usr/local/lib ; sudo ln -s /home/sears/stuff/lib/*.so . ; popd ' +echo ' pushd ~/svndev/trunk/dht/storage/handler/src/ ; ln -s ~/stuff/sherpa_logstore/* . ; popd ' +