Fix variable reference to evaluate distro alias

This commit is contained in:
Pedro Algarvio 2014-06-22 12:18:39 +01:00
parent ab0ee6b3f7
commit 29670caa8e

View file

@ -929,7 +929,7 @@ __ubuntu_derivatives_translation() {
;;
esac
_ubuntu_version=$(eval echo "\$${1}_${_major}_ubuntu_base")
_ubuntu_version=$(eval echo "\$${match}_${_major}_ubuntu_base")
if [ "$_ubuntu_version" != "" ]; then
echodebug "Detected Ubuntu $_ubuntu_version derivative"