forked from SamRothCA/Today-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I've installed bash via Homebrew, which means that my bash really lives in /usr/local/Cellar/bash/.../bin/bash, with a symlink at /usr/local/bin/bash. When I specify the program to run as /usr/local/bin/bash (which happens automatically because it's auto-populated from my SHELL environment variable), Today Scripts highlights it in red and refuses to save the entry.
This is evidently because of the check at line 111 of EditViewController.m:
if (! [NSFileManager.defaultManager isExecutableFileAtPath:programString]) {I'm afraid I have no solution to suggest, but it seems clear to me that a symlink to a valid executable should be accepted the same as an actual executable.
Metadata
Metadata
Assignees
Labels
No labels