diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/distro-install-sdk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/distro-install-sdk b/bin/distro-install-sdk index a92c3b5d650c..e8cf28d618d4 100755 --- a/bin/distro-install-sdk +++ b/bin/distro-install-sdk @@ -68,11 +68,11 @@ if test -d $DESTDIR$INSTALLDIR/sdk ; then sed -e "s,@OO_SDK_NAME@,libreoffice${PRODUCTVERSION}_sdk," \ -e "s,@OO_SDK_HOME@,$INSTALLDIR/sdk," \ -e "s,@OFFICE_HOME@,$INSTALLDIR," \ - -e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \ - -e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \ - -e "s,@OO_SDK_CPP_HOME@,/usr/bin," \ - -e "s,@OO_SDK_SED_HOME@,/usr/bin," \ - -e "s,@OO_SDK_CAT_HOME@,/usr/bin," \ + -e "s,@OO_SDK_MAKE_HOME@,$(dirname $(command -v make))," \ + -e "s,@OO_SDK_ZIP_HOME@,$(dirname $(command -v zip))," \ + -e "s,@OO_SDK_CPP_HOME@,$(dirname $(command -v cpp))," \ + -e "s,@OO_SDK_SED_HOME@,$(dirname $(command -v sed))," \ + -e "s,@OO_SDK_CAT_HOME@,$(dirname $(command -v cat))," \ -e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \ -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \ -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \ |