Browse Source

added script for update original

pull/8/head
funkill2 6 years ago
parent
commit
15e367c986
No known key found for this signature in database
GPG Key ID: 9202B2432F86E487
  1. 11
      scripts/update_original.sh

11
scripts/update_original.sh

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
#!/bin/bash
set -eu
SCRIPTS_DIR=`dirname "$0" | xargs realpath`
ROOT_DIR=`realpath "${SCRIPTS_DIR}/../"`
ORIGINAL_DIR="${ROOT_DIR}/rustbook-en"
ORIGINAL_LANG="en"
ORIGINAL_REPO="https://github.com/rust-lang/book.git"
source "${ROOT_DIR}/common-configs/scripts/update_original.sh"
Loading…
Cancel
Save