]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Works now.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 13 Mar 1999 18:20:14 +0000 (18:20 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 13 Mar 1999 18:20:14 +0000 (18:20 +0000)
[originally from svn r95]

mkputty.mpw

index 390b01241dd38fb09dfe737b713f55582700a0aa..c8e212956f7b391c277557a17ccde5de1915dc95 100644 (file)
@@ -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}" ³ Dev:Null || Set Status 0`"
+Set CaseSensitive True #filetype check for DA must be case sensitive
+If "{type}" =~ /Å APPL/ 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
        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}" =~ /Å dfil/                                           # desk accessory (System 7)
+       Echo -n t
        Quote -n Duplicate -y "{program}" "{SystemFolder}Apple Menu Items";
        Echo -n "  # Install DA into Apple Menu"
 End
-
-
-