Commit a68931d4 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2

fix build script

Change-Id: Iab48c40d98c9c97c6a5bf67bb7c818b50d700b62
Tuleap: #313
parent a2a4985f
......@@ -63,11 +63,21 @@ CC="xcrun -sdk $SDK clang"
CXX="xcrun -sdk $SDK clang++"
IOS_TOP_DIR="$(pwd)"
DAEMON_DIR="$(pwd)/../daemon"
cd $DAEMON_DIR
# TEMPORARY (until everything is merged)
git fetch https://gerrit-ring.savoirfairelinux.com/ring-daemon refs/changes/38/4438/5 && git checkout FETCH_HEAD
if [ -z "$DAEMON_DIR" ]; then
DAEMON_DIR="$(pwd)/../daemon"
echo "DAEMON_DIR not provided trying to find it in $DAEMON_DIR"
fi
if [ ! -d "$DAEMON_DIR" ]; then
echo 'Daemon not found.'
echo 'If you cloned the daemon in a custom location override' \
'DAEMON_DIR to point to it'
echo "You can also use our meta repo which contains both:
https://gerrit-ring.savoirfairelinux.com/#/admin/projects/ring-project"
exit 1
fi
cd $DAEMON_DIR
for ARCH in "${ARCHS[@]}"
do
......@@ -76,7 +86,7 @@ do
if test -z "$HOST"
then
if $ARCH eq "arm64"
if [ "$ARCH" = "arm64" ]
then
HOST=aarch64-apple-darwin_ios
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment