All pastes #554246 Raw Edit

Unnamed

public text v1 · immutable
#554246 ·published 2007-06-10 02:18 UTC
rendered paste body
          tool_transformed_name=`echo $tool|sed 's,y,y,'`; \
          if [ -f $tool.exe ]; then \
            rm -f /usr/local/bin/$tool_transformed_name.exe; \
            /usr/bin/install -c $tool.exe /usr/local/bin/$tool_transformed_name.
exe; \
            chmod a+x /usr/local/bin/$tool_transformed_name.exe; \
            if [ -f gcj-cross.exe ]; then \
              true; \
            elif [ $tool = gcjh ]; then \
              rm -f /usr/local/bin/i686-pc-cygwin-gcjh.exe; \
              ( cd /usr/local/bin && \
                ln $tool_transformed_name.exe i686-pc-cygwin-gcjh.exe ); \
            fi; \
          fi ; \
       done
for file in cc1.exe  gnat1.exe cc1plus.exe f951.exe jc1.exe jvgenmain.exe cc1obj
.exe cc1objplus.exe tree1.exe; do \
          if [ -f $file ] ; then \
            rm -f /usr/local/libexec/gcc/i686-pc-cygwin/4.2.0/$file; \
            /usr/bin/install -c $file /usr/local/libexec/gcc/i686-pc-cygwin/4.2.
0/$file; \
          else true; \
          fi; \
        done