Fixed small performance issue in Master/nsis.make

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29573 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2010-02-12 09:55:07 +00:00
parent afb0e7f739
commit adab174e1e
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-02-12 Nicola Pero <nicola.pero@meta-innovation.com>
* Master/nsis.make (ABS_OBJ_DIR): Assign using := instead of = to
prevent multiple executions of the subshell.
2010-02-12 Nicola Pero <nicola.pero@meta-innovation.com>
* Documentation/releasenotes.texi: Updated.

View file

@ -65,7 +65,7 @@ ifeq ($(GNUSTEP_INSTALLATION_DOMAIN), USER)
endif
NSI_BASE=$(dir $(GNUSTEP_APPS))
ABS_OBJ_DIR=$(shell (cd "$(GNUSTEP_BUILD_DIR)"; pwd))/obj
ABS_OBJ_DIR:=$(shell (cd "$(GNUSTEP_BUILD_DIR)"; pwd))/obj
GNUSTEP_FILE_LIST = $(ABS_OBJ_DIR)/package/file-list
GNUSTEP_DELETE_LIST = $(ABS_OBJ_DIR)/package/delete-list
GNUSTEP_RMDIR_LIST = $(ABS_OBJ_DIR)/package/rmdir-list
@ -100,9 +100,9 @@ nsis_build_filelist::
wodir=`echo $(REL_INSTALL_DIR) | tr '/' '\'`; \
slashsuffix=`basename $${file}yes`; \
if [ "$$slashsuffix" = yes ]; then \
newdir=`dirname $$file`/`basename $$file`; \
newdir=`dirname $$file`/`basename $$file`; \
else \
newdir=`dirname $$file`; \
newdir=`dirname $$file`; \
fi; \
if [ "$$file" = "$(REL_INSTALL_DIR)/" ]; then \
:; \