mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Use subst not sed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cf35676fba
commit
77cf28a8e9
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ $(PALETTE_DIR_NAME)/Resources/palette.table: $(PALETTE_DIR_NAME)/Resources
|
|||
if [ "$(MAIN_MODEL_FILE)" = "" ]; then \
|
||||
echo " NibFile = \"\";"; \
|
||||
else \
|
||||
echo " NibFile = \"`echo $(MAIN_MODEL_FILE) | sed -e 's/.gmodel//' -e 's/.gorm//' -e 's/.nib//'`\";"; \
|
||||
echo " NibFile = \"$(subst .gmodel,,$(subst .gorm,,$(subst .nib,,$(MAIN_MODEL_FILE))))\";"; \
|
||||
fi; \
|
||||
echo " Class = \"$(PRINCIPAL_CLASS)\";"; \
|
||||
echo " Icon = \"$(PALETTE_ICON)\";"; \
|
||||
|
|
Loading…
Reference in a new issue