diff --git a/e17/eina/parse-config b/e17/eina/parse-config index 3f7178a70..2f5e4e119 100644 --- a/e17/eina/parse-config +++ b/e17/eina/parse-config @@ -16,12 +16,9 @@ if hasflag E17; then if [ "$prefix_auto" = 1 ] ; then - if [ "$pkg" == eina ]; then - prefix="opt/e17" - set_confopt - elif pkginstalled eina ; then + if [ "$pkg" != "eina" ]; then pkgprefix -t eina - prefix=`pkgprefix eina` + prefix=$( pkgprefix eina ) set_confopt fi fi