use name of dir to report errors instead of archive name

This commit is contained in:
Dave Murphy 2014-11-22 16:31:23 +00:00
parent 958eb2bae6
commit 334b3ab083

4
dkarm-eabi/scripts/build-tools.sh Normal file → Executable file
View File

@ -10,11 +10,11 @@ do
touch configured
fi
if [ ! -f built ]; then
$MAKE || { echo "error building $archive"; exit 1; }
$MAKE || { echo "error building $dir"; exit 1; }
touch built
fi
if [ ! -f installed ]; then
$MAKE install || { echo "error installing $archive"; exit 1; }
$MAKE install || { echo "error installing $dir"; exit 1; }
touch installed
fi
done