aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/ninja.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-12-11 00:52:08 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2021-12-11 00:52:08 -0600
commit2c8204d6325a1a6607392d5905227b9043da17cc (patch)
tree5a2d9047d0a3fb5664c17284b92c6e572507d062 /chapter8/ninja.sh
parentf699702e72de8200632cfb95350ad51bb68c4b6f (diff)
Major updates.
Diffstat (limited to 'chapter8/ninja.sh')
-rw-r--r--chapter8/ninja.sh36
1 files changed, 18 insertions, 18 deletions
diff --git a/chapter8/ninja.sh b/chapter8/ninja.sh
index f4f1017..3d1beea 100644
--- a/chapter8/ninja.sh
+++ b/chapter8/ninja.sh
@@ -1,18 +1,18 @@
-#!/bin/bash
-set -e
-
-export NINJAJOBS=4
-
-# shellcheck disable=SC1004
-sed -i '/int Guess/a \
- int j = 0;\
- char* jobs = getenv( "NINJAJOBS" );\
- if ( jobs != NULL ) j = atoi( jobs );\
- if ( j > 0 ) return j;\
-' src/ninja.cc &&
-
-python3 configure.py --bootstrap &&
-
-install -vm755 ninja /usr/bin/ &&
-install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja &&
-install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja
+#!/bin/bash
+set -e
+
+export NINJAJOBS=4
+
+# shellcheck disable=SC1004
+sed -i '/int Guess/a \
+ int j = 0;\
+ char* jobs = getenv( "NINJAJOBS" );\
+ if ( jobs != NULL ) j = atoi( jobs );\
+ if ( j > 0 ) return j;\
+' src/ninja.cc &&
+
+python3 configure.py --bootstrap &&
+
+install -vm755 ninja /usr/bin/ &&
+install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja &&
+install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja