docker fix
This commit is contained in:
15
bin/fix_line_endings.sh
Normal file
15
bin/fix_line_endings.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# fix_line_endings.sh - Script to fix line endings in shell scripts
|
||||
|
||||
echo "🔧 Fixing line endings in shell scripts..."
|
||||
|
||||
# Fix shell scripts
|
||||
for file in $(find . -name "*.sh"); do
|
||||
echo "📄 Processing $file..."
|
||||
tr -d '\r' < "$file" > "$file.fixed"
|
||||
mv "$file.fixed" "$file"
|
||||
chmod +x "$file"
|
||||
echo "✅ Fixed $file"
|
||||
done
|
||||
|
||||
echo "🚀 All shell scripts fixed!"
|
||||
Reference in New Issue
Block a user