Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

/usr/bin/env: ‘bash ’: No such file or directory

# The error message suggests that the script you're invoking has embedded 
 characters,
# which in turn suggests that it has Windows-style 
 line endings instead of the 
-only
# line endings bash expects.
# As a quick fix, you can remove the 
 chars. as follows:
sed $'s/
$//' ./install.sh > ./install.Unix.sh
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #No #file #directory
ADD COMMENT
Topic
Name
8+3 =