From cc58708792c0a2a49fb7ee8de19e3a0e1cc637fe Mon Sep 17 00:00:00 2001 From: boulant Date: Wed, 26 Oct 2011 16:23:28 +0000 Subject: [PATCH] FIX: bad usage of shell /bin/sh in dlgfactory.sh --- Makefile.am | 3 +-- tools/dlgfactory/dlgfactory.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9339e40ac..567f59f1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,8 +35,7 @@ else !GUI_ENABLE_CORBA IDLDIR = endif -#SUBDIRS = $(IDLDIR) adm_local resources src doc bin tools/dlgfactory -SUBDIRS = $(IDLDIR) adm_local resources src doc bin +SUBDIRS = $(IDLDIR) adm_local resources src doc bin tools/dlgfactory DIST_SUBDIRS = idl adm_local resources src doc bin diff --git a/tools/dlgfactory/dlgfactory.sh b/tools/dlgfactory/dlgfactory.sh index 0cbc4ca31..763f947a9 100755 --- a/tools/dlgfactory/dlgfactory.sh +++ b/tools/dlgfactory/dlgfactory.sh @@ -63,7 +63,7 @@ else done fi -if [ "$classType" == "qdialog" ]; then +if [ "$classType" = "qdialog" ]; then sed s/__CLASSNAME__/$className/g $TOOLDIRNAME/__QDIALOG__.ui > $className.ui sed s/__CLASSNAME__/$className/g $TOOLDIRNAME/__QDIALOG__.hxx > $className.hxx sed s/__CLASSNAME__/$className/g $TOOLDIRNAME/__QDIALOG__.cxx > $className.cxx -- 2.39.2