ruby-changes:35069
From: hsbt <ko1@a...>
Date: Tue, 12 Aug 2014 14:26:01 +0900 (JST)
Subject: [ruby-changes:35069] hsbt:r47151 (trunk): * configure.in: ignored working directory same as prefix value.
hsbt 2014-08-12 14:25:47 +0900 (Tue, 12 Aug 2014) New Revision: 47151 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47151 Log: * configure.in: ignored working directory same as prefix value. [ruby-core:54999] [Bug #8409] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 47150) +++ configure.in (revision 47151) @@ -229,6 +229,10 @@ test -z "$CXX" || ac_cv_prog_CXX="$CXX" https://github.com/ruby/ruby/blob/trunk/configure.in#L229 if test "$program_prefix" = NONE; then program_prefix= fi +if test "$prefix" = `pwd`; then + echo "--prefix cannot be the current working directory." + exit 1; +fi RUBY_BASE_NAME=`echo ruby | sed "$program_transform_name"` RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"` AC_SUBST(RUBY_BASE_NAME) Index: ChangeLog =================================================================== --- ChangeLog (revision 47150) +++ ChangeLog (revision 47151) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Aug 12 14:22:58 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * configure.in: ignored working directory same as prefix value. + [ruby-core:54999] [Bug #8409] + Tue Aug 12 13:34:25 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> * lib/fileutils.rb: enable to remove with non-owner directory. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/