From: Nadav Har'El <n...@scylladb.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

apps/memcached: repeated failed build

After a failed "configure" step, second build will show cryptic messages.
Instead, make sure the failed configure is retried on the next build, and
the same error message is shown again.

Signed-off-by: Nadav Har'El <n...@scylladb.com>

---
diff --git a/memcached/GET b/memcached/GET
--- a/memcached/GET
+++ b/memcached/GET
@@ -2,16 +2,16 @@
 set -e
 VERSION=1.4.21

-mkdir src
-mkdir upstream
+mkdir upstream || :
 cd upstream
-wget http://www.memcached.org/files/memcached-$VERSION.tar.gz
+wget -c http://www.memcached.org/files/memcached-$VERSION.tar.gz
 tar zxvf memcached-$VERSION.tar.gz
 cd memcached-$VERSION
 ./configure

 cd ../..

+mkdir src
 for i in \
        assoc.c config.h items.c protocol_binary.h stats.c util.c \
        assoc.h daemon.c items.h sasl_defs.h stats.h util.h \

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to