aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/shell
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-20 20:29:19 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-20 20:29:19 +0100
commit1f8fca2815bd03828221521144b714ad11867549 (patch)
tree71ac942d23f4f72a9809e24df3431ef79a364b45 /reproduce/software/shell
parent69e742243d125e057b63d66aa1f91afb44317307 (diff)
Configuration: current directory printed properly in stdout
Until now, the message that we printed just before starting to build software didn't actually print the current directory, but only `pwd'. With this commit, this is fixed (it uses the `currentdir' variable that is already found before).
Diffstat (limited to 'reproduce/software/shell')
-rwxr-xr-xreproduce/software/shell/configure.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/reproduce/software/shell/configure.sh b/reproduce/software/shell/configure.sh
index 47b60a6..dc93d80 100755
--- a/reproduce/software/shell/configure.sh
+++ b/reproduce/software/shell/configure.sh
@@ -610,6 +610,7 @@ fi
# Build directory
# ---------------
+currentdir=$(pwd)
if [ $rewritepconfig = yes ]; then
cat <<EOF
@@ -637,7 +638,6 @@ directory). The build directory cannot be a subdirectory of the source.
EOF
bdir=
- currentdir=$(pwd)
junkname=pure-junk-974adfkj38
while [ x$bdir = x ]
do
@@ -1043,18 +1043,18 @@ if [ $printnotice = yes ]; then
Building dependencies ...
-------------------------
-Necessary dependency programs and libraries will be built in $tsec sec.
-
-NOTE: the built software will NOT BE INSTALLED on your system (no root
-access is required). They are only for local usage by this project. They
-will be installed in:
+Necessary dependency programs and libraries will be built in
$sdir/installed
-**TIP**: you can see which software is being installed at every moment with
-the following command. See "Inspecting status" section of
+NOTE: the built software will NOT BE INSTALLED on your system (no root
+access is required). They are only for local usage by this project.
+
+**TIP**: you can see which software are being installed at every moment
+with the following command. See "Inspecting status" section of
'README-hacking.md' for more. In short, run it while the project is being
-configured (in another terminal, but on this same directory: 'pwd'):
+configured (in another terminal, but in this same directory:
+'$currentdir'):
$ ./project --check-config