You indicate that you jumped from High Sierra to Big Sur.  In between those 
was Catalina.  In that version Mac OS switched the default script shell 
from bash to zsh.  There *might* be an incompatibility in zsh causing your 
issue.  You can try changing the default shell back to bash or else you can 
modify your script to call bash explicitly.

ie: modify the HydroV_dbg.scpt script to do: 
   *do shell script "/bin/bash /VCTTools/bat/hdbgsub.sh"*

will execute the script in bash instead of zsh. 

If you want to modify Mac OS to permanently switch the default shell back 
to bash, there are plenty of pages to help you: 
  
 
https://www.howtogeek.com/444596/how-to-change-the-default-shell-to-bash-in-macos-catalina/


HTH
~ Rich

On Saturday, June 26, 2021 at 8:30:52 PM UTC-4 [email protected] wrote:

> I don't know how  /VCTTools got at the ROOT LEVEL. My company (dead 
> because of Covid) transitioned me from a WinPC to a MacBook Pro back in 
> 2010. All my various tools were translated to the Mac by our then computer 
> Guru. This is my 2nd Mac from 02/2017.  There are 2 scripts involved in 
> this process -- a SCPT file and a SH file.
>
> The script invoked from the BBEdit top bar (menu bar?) is HydroV_dbg.scpt 
> which resides in folder
> /Users/neillsmith/Library/Application Support/BBEdit/Scripts
>
> The HydroV_dbg.scpt file invokes the script hdbgsub.sh which resides in 
> folder
> /Volumes/Macintosh HD - Data/VCTTools/bat
>
> The file hdbgsub.sh is a translation of a BAT file hdbgsub.bat. This 
> hdbgsub.sh file is the one that invokes a compiled program that reads the 
> GEO file and executes it.
>
> I have no idea if my various tools have the correct permissions and I have 
> never heard of a quarantine bit.
>
> The only editing that I have ever done to these two tools was the SCPT 
> file. I changed all references to TextWrangler to BBEdit when I had to 
> upgrade to BBEdit.
>
> I am not AppleScript savy and I am not BBEdit script savy -- obviously.  I 
> avoided MacOS upgrades as long as I could because going from Sierra to High 
> Sierra was a royal pain. Back then I had knowledgeable coworkers to help me.
>
> Any help will be greatly appreciated.
>
> Thanks,
>
> Neill Smith
> On Saturday, June 26, 2021 at 7:54:41 PM UTC-4 [email protected] wrote:
>
>> On 26 Jun 2021, at 17:10, Neill Smith <[email protected]> wrote: 
>> > sh: /VCTTools/bat/hdbgsub.sh: No such file or directory 
>> > 
>> > This directory does exist. 
>>
>> Really? At the ROOT LEVEL of your computer there is a directory named 
>> /VCTTools/? How did you manage that? 
>>
>> Does the script hdbgsub.sh exist in that folder? 
>>
>> Does whatever tool you are invoking have permission to access that 
>> script? 
>>
>> Has the quarantine bit on the script be checked? 
>>
>> Big Sur is much much more secure than High Sierra, and running "unknown" 
>> scripts is part of that security. 
>>
>> -- 
>> Everywhere is walking distance if you have the time. 
>>
>>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/b27d7202-5f84-4cc8-a91e-242646c78401n%40googlegroups.com.

Reply via email to