Skip to content

SimQPN.sh misses execute rights and contains DOS end-of-line characters #2

Description

@simontrapp

This is an easy fix, but nerves a lot for Linux and Mac users.

  1. File SimQPN.sh misses execute rights. Every time, I must manually add it: chmod 775 SimQPN.sh

  2. Running the SimQPN.sh script gives error:

    user@host:~/qpme$ ./SimQPN.sh 
    -bash: ./SimQPN.sh: /bin/sh^M: bad interpreter: No such file or directory

This can be fixed by opening vim and typing set ff=unix or :%s/\r//g

This issue is copied from Gitlab (~3 years old)

Metadata

Metadata

Assignees

No one assigned

    Labels

    minorNon-critical bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions