[前][次][番号順一覧][スレッド一覧]

ruby-changes:34904

From: nobu <ko1@a...>
Date: Mon, 28 Jul 2014 14:38:39 +0900 (JST)
Subject: [ruby-changes:34904] nobu:r46987 (trunk): common.mk: null device name

nobu	2014-07-28 14:38:26 +0900 (Mon, 28 Jul 2014)

  New Revision: 46987

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46987

  Log:
    common.mk: null device name
    
    * common.mk (clean-platform): use $(NULL) as portabile null device
      name instead of hard coded /dev/null for the portability.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 46986)
+++ common.mk	(revision 46987)
@@ -509,7 +509,7 @@ clean-capi distclean-capi realclean-capi https://github.com/ruby/ruby/blob/trunk/common.mk#L509
 
 clean-platform:
 	$(Q) $(RM) $(PLATFORM_D)
-	-$(Q) $(RMDIR) $(PLATFORM_DIR) 2> /dev/null || exit 0
+	-$(Q) $(RMDIR) $(PLATFORM_DIR) 2> $(NULL) || exit 0
 
 check: main test test-all
 	$(ECHO) check succeeded

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]