BishopFox / sliver

Adversary Emulation Framework
GNU General Public License v3.0
7.89k stars 1.05k forks source link

go-assets.sh: /bin/bash^M: bad interpreter: No such file or directory #1727

Open qqalex opened 1 week ago

qqalex commented 1 week ago

Makefile cannot find ./go-assets.sh Error message: -bash: ./go-assets.sh: /bin/bash^M: bad interpreter: No such file or directory

The problem is the file contains CR LF line breaks which prevents compilation. 1

Running sed -i -e 's/\r$//' go-assets.sh fixed the line breaks and sliver compiles normally.

rkervella commented 2 days ago

@qqalex what version / commit number are you testing from? I can't reproduce this issue.