Skip to content

Commit

Permalink
create a shell script update to git
Browse files Browse the repository at this point in the history
  • Loading branch information
ssashir06 committed Jan 14, 2018
1 parent 4a7fe72 commit f6b7979
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Unreal/Environments/Blocks/update_to_git.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#! /bin/bash


# get path of current script: https://stackoverflow.com/a/39340259/207661
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd "$SCRIPT_DIR" >/dev/null

set -e
set -x

rsync -a --exclude 'temp' --delete Plugins/AirSim ../../Plugins/
rsync -a --exclude 'temp' --delete Plugins/AirSim/Source/AirLib ../../../

popd >/dev/null
set +x

0 comments on commit f6b7979

Please sign in to comment.