On systems where 'python' refers to python3, redo failed to launch. All invocations of python have been made explicitly python2 invocations. All tests pass on an Arch Linux system as of this commit.
5 lines
131 B
Text
5 lines
131 B
Text
umask 0022
|
|
redo mode1
|
|
MODE=$(python2 -c 'import os; print oct(os.stat("mode1").st_mode & 07777)')
|
|
[ "$MODE" = "0644" ] || exit 78
|
|
|