Merge pull request #296721 from alois31/ecm-hook-offset
kdePackages.extra-cmake-modules: fix hook offset
This commit is contained in:
commit
33389fcdc5
|
@ -6,7 +6,7 @@ ecmEnvHook() {
|
||||||
addToSearchPath XDG_DATA_DIRS "$1/share"
|
addToSearchPath XDG_DATA_DIRS "$1/share"
|
||||||
addToSearchPath XDG_CONFIG_DIRS "$1/etc/xdg"
|
addToSearchPath XDG_CONFIG_DIRS "$1/etc/xdg"
|
||||||
}
|
}
|
||||||
addEnvHooks "$targetOffset" ecmEnvHook
|
addEnvHooks "$hostOffset" ecmEnvHook
|
||||||
|
|
||||||
ecmPostHook() {
|
ecmPostHook() {
|
||||||
# Because we need to use absolute paths here, we must set *all* the paths.
|
# Because we need to use absolute paths here, we must set *all* the paths.
|
||||||
|
@ -125,4 +125,4 @@ ecmHostPathHook() {
|
||||||
propagatedUserEnvPkgs+=" $1"
|
propagatedUserEnvPkgs+=" $1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
addEnvHooks "$targetOffset" ecmHostPathHook
|
addEnvHooks "$hostOffset" ecmHostPathHook
|
||||||
|
|
Loading…
Reference in New Issue
Block a user