[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

./packages/openofficeorg/3.3.0/experimental r2061: oops, forgot to change some variables back..



------------------------------------------------------------
revno: 2061
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Thu 2010-07-08 11:17:46 +0200
message:
  oops, forgot to change some variables back..
modified:
  rules
=== modified file 'rules'
--- a/rules	2010-07-07 15:43:31 +0000
+++ b/rules	2010-07-08 09:17:46 +0000
@@ -2690,14 +2690,14 @@
 ifeq "$(USE_OOO_BUILD_DESKTOPS)" "n"
 	# menu files from sysui
 	dirname="`cd $(SOURCE_TREE)/sysui/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/misc/desktopshare >/dev/null; pwd`" ;\
-	for a in writer calc impress draw math base; do \
+	for p in writer calc impress draw math base; do \
 		mkdir -p -m755 $(PKGDIR)-$$p/usr/share/applications ;\
 		sed -e 's,Exec=$${UNIXPRODUCTNAME}$${PRODUCTVERSION} \(.*\) %U,Exec=ooffice$(VER) \1 %U,' \
 		    -e 's,Icon=$${WITHOUTDOTUNIXPRODUCTNAME},Icon=openofficeorg,' \
 		    -e 's,Name=$${PRODUCTNAME} $${PRODUCTVERSION},Name=OpenOffice.org $(VER),' \
 		    -e 's/  / /' \
-		   < $$dirname/$$a.desktop \
-		   > $(PKGDIR)-$$p/usr/share/applications/openoffice.org$(VER)-$$a.desktop || exit 1 ;\
+		   < $$dirname/$$p.desktop \
+		   > $(PKGDIR)-$$p/usr/share/applications/openoffice.org$(VER)-$$p.desktop || exit 1 ;\
 	done
 ifeq "$(BUILD_GTK)" "y"
 	# qstart.desktop is different to the above. Should be handled by


Reply to: