components/ruby/ruby-19/Solaris/rbconfig.sedscript
branchs11-update
changeset 2994 3705b92dce6a
parent 2813 db0bfa0fa498
equal deleted inserted replaced
2993:2d33c9c7a5a3 2994:3705b92dce6a
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 # sed script to fix the rbconfig.rb file after 
    25 # sed script to fix the rbconfig.rb file after 
    26 # the configure and install of ruby
    26 # the configure and install of ruby
    27 
    27 
    28 # use gcc/g++ instead of build-system-specific  paths to cc or CC
    28 # use gcc/g++ instead of build-system-specific  paths to cc or CC
    45 s/\/usr\/bin\/gmkdir/\/usr\/gnu\/bin\/mkdir/
    45 s/\/usr\/bin\/gmkdir/\/usr\/gnu\/bin\/mkdir/
    46 s/\/usr\/bin\/gsed/\/usr\/gnu\/bin\/sed/
    46 s/\/usr\/bin\/gsed/\/usr\/gnu\/bin\/sed/
    47 
    47 
    48 # add this line to the end of the file
    48 # add this line to the end of the file
    49 $a\
    49 $a\
    50 ENV["GEM_HOME"] = "/usr/ruby/RUBY_VER/lib/MACH64/ruby/gems/RUBY_LIB_VER"
    50 ENV["GEM_HOME"] = "/usr/ruby/RUBY_VER/lib/ruby/gems/RUBY_LIB_VER"