diff options
author | Luca Barbieri <[email protected]> | 2010-03-23 17:55:38 +0100 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-03-23 17:57:59 +0100 |
commit | fff86eb0aab506fdfe3e956587d453c52ab07730 (patch) | |
tree | 375dd34708d9c3618cd45dcae2200a1c814f75b3 | |
parent | 2689dd304c6d644b04c941e6da63e466be5de0d6 (diff) |
dri: use mv -f instead of mv to ensure no prompting occurs
Using just mv may cause prompts on some systems/configurations.
-rw-r--r-- | src/gallium/winsys/drm/Makefile.template | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/Makefile.template b/src/gallium/winsys/drm/Makefile.template index 9f984f1090c..7146e112d04 100644 --- a/src/gallium/winsys/drm/Makefile.template +++ b/src/gallium/winsys/drm/Makefile.template @@ -71,7 +71,7 @@ $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) Makefile \ $(DRI_LIB_DEPS) $(DRIVER_EXTRAS) $(CC) -o [email protected] $(TOP)/src/mesa/drivers/dri/common/dri_test.o [email protected] -L$(TOP)/lib -lGL @rm -f [email protected] - mv [email protected] $@ + mv -f [email protected] $@ $(TOP)/$(LIB_DIR)/gallium: mkdir -p $@ diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 2b7634bbf6c..15682b76ff1 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -56,7 +56,7 @@ $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) Makefile \ $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(DRI_LIB_DEPS) $(CC) -o [email protected] $(TOP)/src/mesa/drivers/dri/common/dri_test.o [email protected] -L$(TOP)/lib -lGL @rm -f [email protected] - mv [email protected] $@ + mv -f [email protected] $@ $(TOP)/$(LIB_DIR)/$(LIBNAME): $(LIBNAME) |