summaryrefslogtreecommitdiff
path: root/sysui/desktop/share/create_tree.sh
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-02-10 18:22:07 -0500
committerDavid Ostrovsky <David.Ostrovsky@gmx.de>2013-02-17 21:58:28 +0000
commit01344a8ca57636ac87108c22f777a02fe6d963d5 (patch)
tree3572589779eddf57c9ff87403bcb453574eb0fd3 /sysui/desktop/share/create_tree.sh
parentc3a8667d69b8e270fe6a3aed00d86a39dd4f0be7 (diff)
convert sysui to gbuild and add to tail_build
Change-Id: Ia32e51f0d95e001bcf07766f6340398e0ab1bf6a Reviewed-on: https://gerrit.libreoffice.org/2192 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Diffstat (limited to 'sysui/desktop/share/create_tree.sh')
-rwxr-xr-xsysui/desktop/share/create_tree.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh
index 882dcbfb189d..ef9f32a33452 100755
--- a/sysui/desktop/share/create_tree.sh
+++ b/sysui/desktop/share/create_tree.sh
@@ -1,4 +1,3 @@
-#!/bin/sh
#
# This file is part of the LibreOffice project.
#
@@ -33,7 +32,7 @@ if [ "${KDEMAINDIR}" ]; then
mkdir -p "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application"
for i in `cat mimelnklist`; do
- cp "${i}" "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application/${PREFIX}-${i}"
+ cp "${i}" "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application/${PREFIX}-`basename ${i}`"
done
chmod 0644 "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application/"*
fi