aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r--chapter06/ncurses.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index 93cf85263..d96d7d0f3 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -51,11 +51,11 @@
program on the build host:</para>
<screen><userinput remap="pre">mkdir build
-cd build
-../configure
-make -C include
-make -C progs tic
-cd ..</userinput></screen>
+pushd build
+ ../configure
+ make -C include
+ make -C progs tic
+popd</userinput></screen>
<para>Prepare Ncurses for compilation:</para>