Closed joerghall closed 6 years ago
macOS's stat command doesn't support the -c
option, so this command is failing: stat -c %u:%G:%g:%U .
. Need to find the macOS equivalent of this.
Pushed ibt-0.4 with this fix.
Published version 0.6 which should (hopefully) fix the various packaging problems.
ibt shell
Traceback (most recent call last): File "/usr/local/bin/ibt", line 11, in
sys.exit(_main())
File "/usr/local/lib/python2.7/site-packages/ibt/main.py", line 73, in _main
ctx = Context(working_dir)
File "/usr/local/lib/python2.7/site-packages/ibt/context.py", line 17, in init
self._user_info = get_user_info(working_dir)
File "/usr/local/lib/python2.7/site-packages/ibt/util.py", line 125, in get_user_info
return map(_sanitize, check_process(["stat", "-c", "%u:%G:%g:%U", working_dir]).strip().split(":"))
File "/usr/local/lib/python2.7/site-packages/ibt/util.py", line 68, in check_process
raise RuntimeError("Popen command failed: {}".format(error))
RuntimeError: Popen command failed: stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]