Overview
Comment:Replace positional parameter 1 with hard-coded path when converting
mttrc to mtt.conf

Strict Bourne shells cannot cope with positional parameters when sourcing.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 18fca07335d9e402887c176dec932acc319a429e820e17fbd0d1855e6c88925b
User & Date: geraint@users.sourceforge.net on 2008-07-22 17:38:32
Other Links: branch diff | manifest | tags
Context
2008-09-30
14:16:43
Removed bashism. check-in: ed7b2df1ec user: geraint@users.sourceforge.net tags: origin/master, trunk
2008-07-22
17:38:32
Replace positional parameter 1 with hard-coded path when converting
mttrc to mtt.conf

Strict Bourne shells cannot cope with positional parameters when sourcing. check-in: 18fca07335 user: geraint@users.sourceforge.net tags: origin/master, trunk

17:37:01
Fixed case of MTT_EXAMPLES check-in: ece2886999 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/Makefile from [a0bd5a4a35] to [92a793815c].

61
62
63
64
65
66
67
68

69
70
71
72
73
74
75

distclean: clean clean-cc clean-conf clean-doc clean-xfig
	@-rm -f build-stamp configure-stamp config.log mtt.sh xmtt.sh

install: build clean.sh clean-conf.sh
	@install -d $(INSTDIR) $(CONFDIR) $(PROGDIR)
	@cp -a   bin cc doc lib $(INSTDIR)
	@cat bin/mttrc | grep -v 'MTT_LIB/xfig' > $(CONFDIR)/mtt.conf

	@install mtt.sh  $(PROGDIR)/mtt
	@install xmtt.sh $(PROGDIR)/xmtt

install-cc: build-cc clean-cc.sh
	@install -d $(INSTDIR)/bin/trans
	@install cc/parse_m2cc.exe $(INSTDIR)/bin/trans








|
>







61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

distclean: clean clean-cc clean-conf clean-doc clean-xfig
	@-rm -f build-stamp configure-stamp config.log mtt.sh xmtt.sh

install: build clean.sh clean-conf.sh
	@install -d $(INSTDIR) $(CONFDIR) $(PROGDIR)
	@cp -a   bin cc doc lib $(INSTDIR)
	@cat bin/mttrc | grep -v 'MTT_LIB/xfig' |\
	sed 's|$$1|/usr/share/mtt|' > $(CONFDIR)/mtt.conf
	@install mtt.sh  $(PROGDIR)/mtt
	@install xmtt.sh $(PROGDIR)/xmtt

install-cc: build-cc clean-cc.sh
	@install -d $(INSTDIR)/bin/trans
	@install cc/parse_m2cc.exe $(INSTDIR)/bin/trans


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]