Skip to content
Snippets Groups Projects
Commit a68931d4 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2
Browse files

fix build script

Change-Id: Iab48c40d98c9c97c6a5bf67bb7c818b50d700b62
Tuleap: #313
parent a2a4985f
Branches
No related tags found
No related merge requests found
......@@ -63,11 +63,21 @@ CC="xcrun -sdk $SDK clang"
CXX="xcrun -sdk $SDK clang++"
IOS_TOP_DIR="$(pwd)"
if [ -z "$DAEMON_DIR" ]; then
DAEMON_DIR="$(pwd)/../daemon"
cd $DAEMON_DIR
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
# TEMPORARY (until everything is merged)
git fetch https://gerrit-ring.savoirfairelinux.com/ring-daemon refs/changes/38/4438/5 && git checkout FETCH_HEAD
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment