mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12:48 -05:00
Works now.
[originally from svn r95]
This commit is contained in:
17
mkputty.mpw
17
mkputty.mpw
@ -13,17 +13,16 @@ Echo "# `Date -t` ----- Executing build commands."
|
||||
"{program}".makeout
|
||||
Delete "{program}".makeout
|
||||
Echo "# `Date -t` ----- Done."
|
||||
Set type "`files -i -n -x t "{program}" OR "{type}" =~ / MPST/ # application or tool
|
||||
Echo -n t; Quote -n "{program}"; Echo -n " "
|
||||
Else If "{type}" =~ / DFIL/ # desk accessory in Suitcase
|
||||
Echo -n t
|
||||
Set type "`files -i -n -x t "{program}" <EFBFBD> Dev:Null || Set Status 0`"
|
||||
Set CaseSensitive True #filetype check for DA must be case sensitive
|
||||
If "{type}" =~ /<EFBFBD> APPL/ OR "{type}" =~ /<2F> MPST/ # application or tool
|
||||
Echo -n <EFBFBD>t; Quote -n "{program}"; Echo -n " "
|
||||
Else If "{type}" =~ /<2F> DFIL/ # desk accessory in Suitcase
|
||||
Echo -n <20>t
|
||||
Quote -n "Font/DA Mover" "{SystemFolder}"System "{program}";
|
||||
Echo -n " # Install DA"
|
||||
Else If "{type}" =~ / dfil/ # desk accessory (System 7)
|
||||
Echo -n t
|
||||
Else If "{type}" =~ /<EFBFBD> dfil/ # desk accessory (System 7)
|
||||
Echo -n <EFBFBD>t
|
||||
Quote -n Duplicate -y "{program}" "{SystemFolder}Apple Menu Items";
|
||||
Echo -n " # Install DA into Apple Menu"
|
||||
End
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user