[Libreoffice-commits] online.git: loolwsd/test
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sun Apr 17 15:21:01 UTC 2016
loolwsd/test/run_unit.sh.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 0cf179ba57067f4005662601e9c3bdf03dd4b1d5
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sat Apr 16 16:27:10 2016 -0400
loolwsd: run_unit.sh now finds abs_top_builddir and executes using bash
Change-Id: I3a341f5508ecf4cda51cc526d38d09cdbcaf09ff
Reviewed-on: https://gerrit.libreoffice.org/24157
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/test/run_unit.sh.in b/loolwsd/test/run_unit.sh.in
index a53daec..1af8b86 100755
--- a/loolwsd/test/run_unit.sh.in
+++ b/loolwsd/test/run_unit.sh.in
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/usr/bin/env bash
#
# DO NOT EDIT - this file is generated from run_unit.sh.in.
#
# substituted variables in one place:
-abs_top_builddir="/opt/libreoffice/online/loolwsd"
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+abs_top_builddir="${DIR}/.."
systemplate_path="@SYSTEMPLATE_PATH@"
enable_debug="@ENABLE_DEBUG@"
jails_path="@JAILS_PATH@"
More information about the Libreoffice-commits
mailing list