From 1c3bba0a5d23eda61199b915fbc92112227b9411 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser (@tux-six) Date: Wed, 13 Jul 2022 00:51:45 +0200 Subject: Set NDEBUG=1 as default. Fix wrong CMD in dockerfile. Drop indentation in shell block because looks ugly in markdown --- README.md | 10 +++++----- configure | 1 + contrib/build-using-docker/Dockerfile | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index daef2a2..c3d35ba 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ If you prefer to build within more isolated environment may If you prefer traditional, just do: ```sh - curl -sSL http://git.hiddenalpha.ch/bulk-ln.git/snapshot/bulk-ln-master.tar.gz | tar xz - cd bulk-ln-master - ./configure - make - make install +curl -sSL http://git.hiddenalpha.ch/bulk-ln.git/snapshot/bulk-ln-master.tar.gz | tar xz +cd bulk-ln-master +./configure +make +make install ``` diff --git a/configure b/configure index d2f1fe7..fb6253b 100755 --- a/configure +++ b/configure @@ -64,6 +64,7 @@ printMakefile () { printf '%s\n' "EXEC_PREFIX=$exec_prefix" printf '%s\n' "EXEC_SUFFIX=$exec_suffix" printf '%s\n' "BINDIR=$bindir" + printf '%s\n' "NDEBUG=1" # If PROJECT_VERSION set, use it. # If not, try generate via git describe. diff --git a/contrib/build-using-docker/Dockerfile b/contrib/build-using-docker/Dockerfile index 9a6df6b..c56cacd 100644 --- a/contrib/build-using-docker/Dockerfile +++ b/contrib/build-using-docker/Dockerfile @@ -31,5 +31,5 @@ USER 1000:1000 # run for max 10 hrs. Because this container is not meant to stay running # forever. -CMD ["sleep 36000"] +CMD ["sleep", "36000"] -- cgit v1.1