Kaydet (Commit) 3fda57c2 authored tarafından Rene Engelhard's avatar Rene Engelhard

fix SDK paths (especially cat/sed) in bin/distro-install-sdk

wonder how that ever worked. cat and sed are in /bin, not /usr/bin.
Appparetly the BSDs have them there, though, so generalize though this
is for distros and it probably shouldn't matter.

Change-Id: I6efb3e92b8f8d15f3671090a3eaa9d8836f9998f
Reviewed-on: https://gerrit.libreoffice.org/39276Reviewed-by: 's avatarRene Engelhard <rene@debian.org>
Tested-by: 's avatarRene Engelhard <rene@debian.org>
üst 7f1465a9
......@@ -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," \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment