1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-07-28 05:38:26 +00:00
parent 57541c4986
commit e4c92f24fe

View file

@ -509,7 +509,7 @@ clean-capi distclean-capi realclean-capi:
clean-platform: clean-platform:
$(Q) $(RM) $(PLATFORM_D) $(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 check: main test test-all
$(ECHO) check succeeded $(ECHO) check succeeded