diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-04-20 20:33:39 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-04-20 20:33:39 +0100 |
commit | ad84e266987a46d88336a23a14ea27100e4cd160 (patch) | |
tree | 9e6f4eb9c222cf047bd5db69aefb42198012dd3c /reproduce/software | |
parent | ac7b82baa6b812e1086197f8e050cb373f3395f1 (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')
-rwxr-xr-x | reproduce/software/shell/configure.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/reproduce/software/shell/configure.sh b/reproduce/software/shell/configure.sh index 7f837a5..b4cf43b 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 @@ -1044,18 +1044,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 |