[packages/crossnacl-newlib] - add nacl_trunk variable

draenog draenog at pld-linux.org
Sat Jul 7 11:14:11 CEST 2012


commit ead93dd4a791bc0619281d4c55dd04685c185a59
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Jul 6 23:47:47 2012 +0000

    - add nacl_trunk variable
    
    Changed files:
        get-source.sh -> 1.3

 get-source.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/get-source.sh b/get-source.sh
index 84d5442..6e1f170 100644
--- a/get-source.sh
+++ b/get-source.sh
@@ -16,6 +16,7 @@ set -e
 
 package=nacl-newlib
 repo_url=http://git.chromium.org/native_client/$package.git
+nacl_trunk=http://src.chromium.org/native_client/trunk
 specfile=crossnacl-newlib.spec
 
 # if you get errors that sha1 hash not found, try increasing depth
@@ -71,13 +72,12 @@ fi
 # cd ~/nacl-headers-15.0.874.106
 # tar cfj ~/nacl-headers-15.0.874.106.tar.bz2 .
 
-# http://src.chromium.org/native_client/trunk/src/native_client/src/trusted/service_runtime/
 package=nacl-headers
 prefix=$package-$chrome_version
 if [ -f $prefix.tar.bz2 ]; then
 	echo "Tarball $prefix.tar.bz2 already exists"
 else
-	svn co http://src.chromium.org/native_client/trunk/src/native_client/src/trusted/service_runtime@$nacl_revision $package
+	svn co $nacl_trunk/src/native_client/src/trusted/service_runtime@$nacl_revision $package
 	cd $package
 	./export_header.py include ../$prefix
 	cd ..
@@ -86,9 +86,9 @@ else
 fi
 
 # Taken from chromium-15.0.874.106/native_client/tools/newlib-libc-script
-svn cat http://src.chromium.org/native_client/trunk/src/native_client/tools/newlib-libc-script@$nacl_revision > newlib-libc-script
+svn cat $nacl_trunk/src/native_client/tools/newlib-libc-script@$nacl_revision > newlib-libc-script
 
 # Taken from chromium-15.0.874.106/native_client/src/untrusted/pthread/pthread.h
-svn cat http://src.chromium.org/native_client/trunk/src/native_client/src/untrusted/pthread/pthread.h@$nacl_revision > pthread.h
+svn cat $nacl_trunk/src/native_client/src/untrusted/pthread/pthread.h@$nacl_revision > pthread.h
 
 rm -f NACL_REVISIONS.sh DEPS.py configure


More information about the test mailing list