Browse Source

Update scripts/remove-comments.sh

Co-authored-by: Copilot <[email protected]>
Adam Djellouli 2 months ago
parent
commit
c66e832632
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/remove-comments.sh

+ 1 - 1
scripts/remove-comments.sh

@@ -184,7 +184,7 @@ PYEOF
       cp -p -- "$f" "$f.bak"
     fi
     mv -- "$tmp" "$f"
-    chmod --reference="$f.bak" "$f" 2>/dev/null || true
+    chmod --reference="$f" "$f" 2>/dev/null || true
     ((changed++))
   else
     rm -f "$tmp"