trying to fix speed optimizations...

This commit is contained in:
2014-12-20 22:25:12 -05:00
parent b71931b0b5
commit 15f85a19a4
2 changed files with 18 additions and 16 deletions

View File

@@ -1,10 +1,19 @@
function holla_atcha_boi {
if [[ "${I_AM_A_RACECAR}" == "y" ]];
then
RACECAR_CHK="nice -n '-19' "
else
RACECAR_CHK=""
fi
# Do we have an existing chroot set up yet? If not, create.
if [[ ! -d "root.x86_64/root" || ! -d "root.i686/root" ]];
then
echo "No existing chroot environment found. Creating..."
rm -f ${LOCKFILE}
${BASEDIR}/lib/mk.chroot.sh
${RACECAR_CHK}${BASEDIR}/lib/mk.chroot.sh
touch ${LOCKFILE}
fi
}