You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After converting migrate2rocky.sh to unix line endings, the script works fine.
You can use the usual tools to convert line endings like dos2unix or tr -d '\015' < dosfile > unixfile
Reproduce:
git clone https://github.com/rocky-linux/rocky-tools.git
cd rocky-tools/migrate2rocky
chmod 775 migrate2rocky.sh
sudo su
./migrate2rocky.sh -h
Result:
bash: ./migrate2rocky.sh: /bin/bash^M: bad interpreter: No such file or directory
Tested with git commit f3fe6d7
Obviously,
migrate2rocky.sh
contains some DOS line endings...The text was updated successfully, but these errors were encountered: