Minor bep fixes and style changes for mercurial and less.

This commit is contained in:
Chris Roberts
2010-04-03 18:52:49 +00:00
parent 43573197c4
commit eff91cab45
2 changed files with 10 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ BUILD {
INSTALL {
cd mercurial-1.5
([[ -n $DESTDIR ]] && python setup.py install --root="$DESTDIR" --prefix="/boot/common" --force \
|| python setup.py install --prefix="/boot/common" --force)
if [ -n ${DESTDIR} ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}

View File

@@ -14,5 +14,9 @@ BUILD {
INSTALL {
cd less-436
make install
if [ -n "${DESTDIR}" ];then
make install DESTDIR="${DESTDIR}"
else
make install
fi
}