Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: native_client_sdk/src/gonacl_appengine/src/lua/build.sh

Issue 613233002: [NaCl SDK] Update naclports revision used to build gonacl.com examples (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/gonacl_appengine/src/bullet/build.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/gonacl_appengine/src/lua/build.sh
diff --git a/native_client_sdk/src/gonacl_appengine/src/lua/build.sh b/native_client_sdk/src/gonacl_appengine/src/lua/build.sh
index 15a8e02985b42465f8383e18e2fae314689c5672..b9663b4adc4fadf8e0979b7058135547ffdc5728 100755
--- a/native_client_sdk/src/gonacl_appengine/src/lua/build.sh
+++ b/native_client_sdk/src/gonacl_appengine/src/lua/build.sh
@@ -5,14 +5,13 @@
set -o nounset
set -o errexit
-set -o xtrace
SCRIPT_DIR="$(cd $(dirname $0) && pwd)"
cd ${SCRIPT_DIR}
OUT_DIR=out
-NACLPORTS_URL=http://naclports.googlecode.com/svn/trunk/src
-NACLPORTS_REV=1290
+NACLPORTS_URL=https://chromium.googlesource.com/external/naclports.git
+NACLPORTS_REV=99f2417ab1a397735b20ccceaa58ffcc166f3fb1
NACLPORTS_DIR=${OUT_DIR}/naclports
if [ -z "${NACL_SDK_ROOT:-}" ]; then
@@ -37,24 +36,11 @@ LogExecute() {
$*
}
-Clone() {
- local url=$1
- local dir=$2
- local sha=$3
- if [ ! -d $dir ]; then
- LogExecute git clone $url $dir
- else
- pushd $dir
- LogExecute git fetch origin
- popd
- fi
-
- pushd $dir
- LogExecute git checkout $sha
- popd
-}
-
Banner Cloning naclports
+if [ -d ${NACLPORTS_DIR} -a ! -d ${NACLPORTS_DIR}/src/.git ]; then
+ rm -rf ${NACLPORTS_DIR}
+fi
+
if [ ! -d ${NACLPORTS_DIR} ]; then
mkdir -p ${NACLPORTS_DIR}
pushd ${NACLPORTS_DIR}
« no previous file with comments | « native_client_sdk/src/gonacl_appengine/src/bullet/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698