A little script problem
Das Goravani
goravanis at gmail.com
Wed Sep 29 17:35:50 UTC 2021
The first part of the script is as follows
#!/bin/bash
xattr -cr "/Users/richard/Desktop/Deploying/Jyotish Studio 5/Jyotish Studio 7.3.app"
codesign -o runtime --entitlements ~/Documents/standard_entitlements.plist --timestamp --verbose --force -s "Developer ID Application: Das Goravani (K6ZRT5Y7RU)" "/Users/richard/Desktop/Deploying/Jyotish Studio 5/Jyotish Studio 7.3.app/Contents/Info.plist"
codesign -o runtime --entitlements ~/Documents/standard_entitlements.plist --timestamp --verbose --force -s "Developer ID Application: Das Goravani (K6ZRT5Y7RU)" "/Users/richard/Desktop/Deploying/Jyotish Studio 5/Jyotish Studio 7.3.app/Contents/PkgInfo”
If I copy the commands out of the script and paste them in Terminal they run just fine.
But being inside the script, when I run the script, they give path not found errors.
It’s a mystery!
Any help?
Das
> On Sep 29, 2021, at 1:19 PM, Das Goravani <goravanis at gmail.com> wrote:
>
>
> I have made a utility to help folks code sign their Omnis app and do notarization.. what Phil and I were discussing yesterday, I have made the utility and am ready to post it for grabbing.. but in testing it a weird thing is happening.
>
> I wonder if anyone knows what’s going on.
>
> The very first command is Xattr . It is stopping on this and saying:
>
> xattr: No such file or directory: line 1:
>
> But if I copy paste that line command out of the script and run it by itself it runs just fine as typed.. the path is valid.
>
> It is saying no such file or directory but that is not true.. it’s a complete path from /Users/ all the way down, and it is in quotes, and it works like I said if I take it out of the script fine and run it.. runs fine.. so this is not true, yet is is saying it.
>
> Anybody have a clue how to solve this?
>
> I want to present my little utility to the developers.
>
> I want to be able to notarize on BigSur (without dealing with a VM to notarize)
>
>
More information about the omnisdev-en
mailing list