diff options
-rwxr-xr-x | scripts/prepare-libetpan-ios.sh | 6 | ||||
-rwxr-xr-x | scripts/prepare-libetpan-macos.sh | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/scripts/prepare-libetpan-ios.sh b/scripts/prepare-libetpan-ios.sh index 60c8a253..e7ed4928 100755 --- a/scripts/prepare-libetpan-ios.sh +++ b/scripts/prepare-libetpan-ios.sh @@ -2,6 +2,7 @@ sdkversion=6.1 url="https://github.com/dinhviethoa/libetpan.git" +rev=349d184dcf2008ee7b5396743580e32b3bf65689 pushd `dirname $0` > /dev/null scriptpath=`pwd` @@ -32,7 +33,8 @@ else git clone $url cd libetpan fi -version=`git rev-parse HEAD | cut -c1-10` +#version=`git rev-parse HEAD | cut -c1-10` +version=`echo $rev | cut -c1-10` if test -f "$resultdir/libetpan-ios-$version.zip" ; then echo install from cache @@ -52,6 +54,8 @@ popd >/dev/null pushd . >/dev/null cp -R "$builddir/downloads/libetpan" "$srcdir/libetpan" +cd "$srcdir/libetpan" +git checkout $rev echo building libetpan cd "$srcdir/libetpan/build-mac" diff --git a/scripts/prepare-libetpan-macos.sh b/scripts/prepare-libetpan-macos.sh index 5fac1802..3854ef22 100755 --- a/scripts/prepare-libetpan-macos.sh +++ b/scripts/prepare-libetpan-macos.sh @@ -1,6 +1,7 @@ #!/bin/sh url="https://github.com/dinhviethoa/libetpan.git" +rev=349d184dcf2008ee7b5396743580e32b3bf65689 pushd `dirname $0` > /dev/null scriptpath=`pwd` @@ -31,7 +32,8 @@ else git clone $url cd libetpan fi -version=`git rev-parse HEAD | cut -c1-10` +#version=`git rev-parse HEAD | cut -c1-10` +version=`echo $rev | cut -c1-10` if test -f "$resultdir/libetpan-$version.zip" ; then echo install from cache @@ -48,6 +50,8 @@ popd >/dev/null pushd . >/dev/null cp -R "$builddir/downloads/libetpan" "$srcdir/libetpan" +cd "$srcdir/libetpan" +git checkout $rev echo building libetpan cd "$srcdir/libetpan/build-mac" |