Ticket #433: Makefile.am.diff

File Makefile.am.diff, 1.2 KB (added by Joses, 17 years ago)

sea/Makefile.am for binstall to add #!/bin/sh to scripts

  • Makefile.am

    old new  
    6969
    7070BOINC/binstall.sh: BOINC Makefile
    7171        echo 'cd BOINC &&\
    72         echo "cd \"$$PWD\" && exec ./boinc \$$@" > run_client &&\
    73         echo "cd \"$$PWD\" && exec ./boincmgr \$$@" > run_manager &&\
     72        echo "#!/bin/sh" > run_client &&\
     73        echo "cd \"$$PWD\" && exec ./boinc \$$@" >> run_client &&\
     74        echo "#!/bin/sh" > run_manager &&\
     75        echo "cd \"$$PWD\" && exec ./boincmgr \$$@" >> run_manager &&\
    7476        chmod +x run_client &&\
    75         chmod +x run_manager &&\
     77        chmod +x,o+rx run_manager &&\
    7678        echo use $$PWD/run_manager to start BOINC' > BOINC/binstall.sh
    7779
    7880BOINC_debug/binstall.sh: BOINC_debug Makefile
    7981        echo 'cd BOINC_debug &&\
    80         echo "cd \"$$PWD\" && exec ./boinc.unmodified \$$@" > run_client &&\
    81         echo "cd \"$$PWD\" && exec ./boincmgr.unmodified \$$@" > run_manager &&\
     82        echo "#!/bin/sh" > run_client &&\
     83        echo "cd \"$$PWD\" && exec ./boinc.unmodified \$$@" >> run_client &&\
     84        echo "#!/bin/sh" > run_manager &&\
     85        echo "cd \"$$PWD\" && exec ./boincmgr.unmodified \$$@" >> run_manager &&\
    8286        chmod +x run_client &&\
    83         chmod +x run_manager &&\
     87        chmod +x,o+rx run_manager &&\
    8488        echo use $$PWD/run_manager to start BOINC' > BOINC_debug/binstall.sh
    8589
    8690BOINC: