Skip to content

Instantly share code, notes, and snippets.

View Koncord's full-sized avatar
🏠
Working from home

Stanislav Zhukov Koncord

🏠
Working from home
  • Serbia
View GitHub Profile
@Koncord
Koncord / build.sh
Last active June 30, 2019 23:12
RPI v3 build scripts
source build_env.sh
./clone-or-rebase.sh https://github.com/TES3MP/RakNet RakNet
mkdir ./RakNet/build
cd ./RakNet/build
cmake CMAKE_INSTALL_PREFIX=$RPI_ROOT/libs -DRAKNET_ENABLE_SAMPLES=False -DRAKNET_ENABLE_DLL=False ..
make -j4 install
cd ../..
./clone-or-rebase.sh https://github.com/TES3MP/openmw-tes3mp openmw-tes3mp
@nicferrier
nicferrier / gist:2277987
Created April 1, 2012 19:34
Clone a git repo if it does not exist, or pull into it if it does exist
#!/bin/sh
REPOSRC=$1
LOCALREPO=$2
# We do it this way so that we can abstract if from just git later on
LOCALREPO_VC_DIR=$LOCALREPO/.git
if [ ! -d $LOCALREPO_VC_DIR ]
then