summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-07-12 12:41:39 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-07-12 12:43:20 -0700
commit2f32a1581f522e524009138b33b1c7049ced668d (patch)
tree2ed35dd79b21c9300cb24ffa39dd3ebb24d7e1b4
parentdf8481a9c31e1a4773515cfd1ea05a5d5d488578 (diff)
downloadrust-0.3.tar.gz
rust-0.3.zip
Fix make-install target on mac. release-0.3 0.3
-rw-r--r--mk/install.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install.mk b/mk/install.mk
index 029fa30e7b8..3a2dbceaaad 100644
--- a/mk/install.mk
+++ b/mk/install.mk
@@ -6,11 +6,11 @@
 # destination directory as arg 2, and filename/libname-glob as arg 3
 ifdef VERBOSE
  INSTALL = install -m755 $(1)/$(3) $(2)/$(3)
- INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
+ INSTALL_LIB = install -m644 `ls -drt1 $(1)/$(3) | tail -1` $(2)/
 else
  INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 $(1)/$(3) $(2)/$(3)
  INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) &&                    \
-	       install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
+	       install -m644 `ls -drt1 $(1)/$(3) | tail -1` $(2)/
 endif
 
 # The stage we install from