Permalink
Browse files

don't use `chmod' for backward compatibility

  • Loading branch information...
1 parent 961cc7a commit 042c34b71d9729f873e44197704de644c485c699 @sigma sigma committed Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 magit-bisect.el
View
@@ -136,7 +136,7 @@ match REQUIRED-STATUS."
(with-temp-buffer
(insert "#!/bin/sh\n" command "\n")
(write-region (point-min) (point-max) file))
- (chmod file #o755)
+ (set-file-modes file #o755)
(magit-run-git-async "bisect" "run" file)
(magit-display-process)
(setq buffer (get-buffer magit-process-buffer-name))

0 comments on commit 042c34b

Please sign in to comment.