aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reproduce/software/make/high-level.mk4
-rwxr-xr-xreproduce/software/shell/configure.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index ac84c87..cf104e6 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -1296,7 +1296,9 @@ $(ibidir)/util-linux-$(util-linux-version):
ln -sf $(idir)/util-linux/sbin/* $(idir)/bin
fi
- # Write the main target.
+ # Clean up and write the main target.
+ cd ../
+ rm -rf util-linux-$(util-linux-version)
echo "util-Linux $(util-linux-version)" > $@
$(ibidir)/xlsxio-$(xlsxio-version): \
diff --git a/reproduce/software/shell/configure.sh b/reproduce/software/shell/configure.sh
index 38dcf7f..fc34ca9 100755
--- a/reproduce/software/shell/configure.sh
+++ b/reproduce/software/shell/configure.sh
@@ -872,7 +872,7 @@ EOF
# In case an input-directory is given, write it in 'indir'.
if [ x$inindir != x ]; then
- indir=$inindir
+ indir=$(absolute_dir $inindir)
echo " -- Using '$indir'"
fi
fi
@@ -916,7 +916,7 @@ EOF
# If given, write the software directory.
if [ x"$tmpddir" != x ]; then
- ddir=$tmpddir
+ ddir=$(absolute_dir $tmpddir)
echo " -- Using '$ddir'"
fi
fi