[bollin] r5070 committed - * Use single quote for sed RE in order to avoid issues with some shell...

0 views
Skip to first unread message

bol...@googlecode.com

unread,
Feb 29, 2012, 6:30:48 AM2/29/12
to debian...@googlegroups.com
Revision: 5070
Author: abou.al...@sfr.fr
Date: Wed Feb 29 03:30:24 2012
Log: * Use single quote for sed RE in order to avoid issues with some
shells.

http://code.google.com/p/bollin/source/detail?r=5070

Modified:
/lazarus/trunk/debian/rules

=======================================
--- /lazarus/trunk/debian/rules Wed Nov 23 08:54:54 2011
+++ /lazarus/trunk/debian/rules Wed Feb 29 03:30:24 2012
@@ -167,7 +167,7 @@
sed -e 's/Lazarus.*/& (${DEB_UPSTREAM_MAIN_VERSION})/'
-e 's/Exec=startlazarus/&-${DEB_UPSTREAM_MAIN_VERSION}/'
$(CURDIR)/install/lazarus.desktop >
$(INSTALL_DIR)/usr/share/applications/lazarus-${DEB_UPSTREAM_MAIN_VERSION}.desktop
# Install configuration files
${MKDIR} $(INSTALL_DIR)/etc/lazarus-${DEB_UPSTREAM_MAIN_VERSION}
- sed -e "s#__LAZARUSDIR__#/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/#"
-e "s#__FPCSRCDIR__#/usr/share/fpcsrc/$$(FPCVER)/#"
${CURDIR}/tools/install/linux/environmentoptions.xml >
$(INSTALL_DIR)/etc/lazarus-${DEB_UPSTREAM_MAIN_VERSION}/environmentoptions.xml
+ sed -e "s#__LAZARUSDIR__#/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/#"
-e 's#__FPCSRCDIR__#/usr/share/fpcsrc/$$(FPCVER)/#'
${CURDIR}/tools/install/linux/environmentoptions.xml >
$(INSTALL_DIR)/etc/lazarus-${DEB_UPSTREAM_MAIN_VERSION}/environmentoptions.xml
fpcsubst -d LazarusVersion=${DEB_UPSTREAM_MAIN_VERSION} -i
${CURDIR}/tools/install/linux/helpoptions.xml -o
$(INSTALL_DIR)/etc/lazarus-${DEB_UPSTREAM_MAIN_VERSION}/helpoptions.xml
# Install contributer list
${MKDIR} ${LIB_DIR}/docs

Reply all
Reply to author
Forward
0 new messages