diff --git a/dev-util/mercurial/mercurial-1.5.bep b/dev-util/mercurial/mercurial-1.5.bep index 1e64863de..3f1e98d01 100644 --- a/dev-util/mercurial/mercurial-1.5.bep +++ b/dev-util/mercurial/mercurial-1.5.bep @@ -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 } diff --git a/sys-apps/less/less-436.bep b/sys-apps/less/less-436.bep index 9ac1eab6f..808eee3d6 100644 --- a/sys-apps/less/less-436.bep +++ b/sys-apps/less/less-436.bep @@ -14,5 +14,9 @@ BUILD { INSTALL { cd less-436 - make install + if [ -n "${DESTDIR}" ];then + make install DESTDIR="${DESTDIR}" + else + make install + fi }