Blame view

tools/extras/install_sctk_patched.sh 316 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
  #!/bin/bash
  
  # A patch for sctk-2.4.0 smooth installation under Cygwin
  
  os=`uname -a | awk '{printf $NF}'`
  
  if [ "$os" == "Cygwin" ]
  then
    cp src/rfilter1/makefile.in src/rfilter1/makefile.in.orig
    sed 's/OPTIONS=-DNEED_STRCMP=1/OPTIONS=/g' src/rfilter1/makefile.in > tmpf
    mv tmpf src/rfilter1/makefile.in   
  fi