summaryrefslogtreecommitdiffstats
path: root/solenv/bin/soirpm.sh
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2009-07-29 13:59:06 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2009-07-29 13:59:06 +0000
commit72fba2cc5f5bcb9a2607a02c2fe5d35175ad4e2a (patch)
tree7a0056687869e743a153e5a77b068b6afdcce15b /solenv/bin/soirpm.sh
parentCWS-TOOLING: integrate CWS smoketest23 (diff)
downloadcore-72fba2cc5f5bcb9a2607a02c2fe5d35175ad4e2a.tar.gz
core-72fba2cc5f5bcb9a2607a02c2fe5d35175ad4e2a.zip
CWS-TOOLING: integrate CWS perftest09b
2009-07-22 08:34:25 +0200 lla r274216 : #i103694# use bash as shell 2009-07-21 12:33:51 +0200 lla r274178 : #160203# 2009-07-20 13:42:20 +0200 lla r274124 : #106358# add helper tool to get access to rpm in the environment for SOI 2009-07-20 12:43:26 +0200 lla r274119 : #i103656# compatiblity
Diffstat (limited to 'solenv/bin/soirpm.sh')
-rwxr-xr-xsolenv/bin/soirpm.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/solenv/bin/soirpm.sh b/solenv/bin/soirpm.sh
new file mode 100755
index 000000000000..f886f0fb88d1
--- /dev/null
+++ b/solenv/bin/soirpm.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+#*************************************************************************
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2008 by Sun Microsystems, Inc.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: makefile,v $
+#
+# $Revision: 1.4 $
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#***********************************************************************/
+
+LIBRPMBUILD=$(find ${COMPATH} -name 'librpmbuild-4.1*' -print)
+# echo $(dirname $LIBRPMBUILD)
+LD_LIBRARY_PATH=$(dirname ${LIBRPMBUILD}) ${BUILD_TOOLS?}/rpm "$@"
+# LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${COMPATH?}/lib \
+# ${BUILD_TOOLS?}/rpm "$@"