Changeset 2973


Ignore:
Timestamp:
Apr 5, 2020 7:59:03 PM (3 months ago)
Author:
unxusr
Message:

control characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2972 r2973  
    103103      echo "#! /bin/sh"
    104104      echo "# Wrapper to launch CBC and set the library path in Linux" > bin/cbc
    105       echo "SCRIPTPATH=\"$( cd \"$(dirname \"$0\")\" >/dev/null 2>&1 ; pwd -P )\"" >> bin/cbc
    106       echo "LIB_PATH=$(echo $SCRIPTPATH | sed -e 's/\/bin$/\/lib/g')" >> bin/cbc
    107       echo "LIB_PATH=$(echo $LIB_PATH | sed -e 's/\/bin\/$/\/lib/g')" >> bin/cbc
    108       echo "OLD_LP=$LD_LIBRARY_PATH" >> bin/cbc
    109       echo "export LD_LIBRARY_PATH=$LIB_PATH:$LD_LIBRARY_PATH" >> bin/cbc
    110       echo "${SCRIPTPATH}/cbc.bin $@" >> bin/cbc
    111       echo "export LD_LIBRARY_PATH=$OLD_LP" >> bin/cbc
    112       echo "exit $?" >> bin/cbc
     105      echo "SCRIPTPATH=\"\$( cd \"\$(dirname \"$0\")\" >/dev/null 2>&1 ; pwd -P )\"" >> bin/cbc
     106      echo "LIB_PATH=\$(echo \$SCRIPTPATH | sed -e 's/\/bin\$/\/lib/g')" >> bin/cbc
     107      echo "LIB_PATH=\$(echo \$LIB_PATH | sed -e 's/\/bin\/\$/\/lib/g')" >> bin/cbc
     108      echo "OLD_LP=\$LD_LIBRARY_PATH" >> bin/cbc
     109      echo "export LD_LIBRARY_PATH=\$LIB_PATH:\$LD_LIBRARY_PATH" >> bin/cbc
     110      echo "${SCRIPTPATH}/cbc.bin \$@" >> bin/cbc
     111      echo "export LD_LIBRARY_PATH=\$OLD_LP" >> bin/cbc
     112      echo "exit \$?" >> bin/cbc
    113113      chmod a+rx bin/cbc
    114114      # CLP Launcher script
     
    116116      echo "#! /bin/sh"
    117117      echo "# Wrapper to launch CLP and set the library path in Linux" > bin/clp
    118       echo "SCRIPTPATH=\"$( cd \"$(dirname \"$0\")\" >/dev/null 2>&1 ; pwd -P )\"" >> bin/clp
     118      echo "SCRIPTPATH=\"\$( cd \"\$(dirname \"\$0\")\" >/dev/null 2>&1 ; pwd -P )\"" >> bin/clp
    119119      echo "LIB_PATH=\$(echo \$SCRIPTPATH | sed -e 's/\/bin\$/\/lib/g')" >> bin/clp
    120120      echo "LIB_PATH=\$(echo \$LIB_PATH | sed -e 's/\/bin\/\$/\/lib/g')" >> bin/clp
    121121      echo "OLD_LP=\$LD_LIBRARY_PATH" >> bin/clp
    122122      echo "export LD_LIBRARY_PATH=\$LIB_PATH:\$LD_LIBRARY_PATH" >> bin/clp
    123       echo "\${SCRIPTPATH}/clp.bin $@" >> bin/clp
    124       echo "export LD_LIBRARY_PATH=$OLD_LP" >> bin/clp
     123      echo "\${SCRIPTPATH}/clp.bin $\@" >> bin/clp
     124      echo "export LD_LIBRARY_PATH=\$OLD_LP" >> bin/clp
    125125      echo "exit \$?" >> bin/clp
    126126      chmod a+rx bin/clp
Note: See TracChangeset for help on using the changeset viewer.