Ya, that script officially sucks. Shouldn't be a big deal here, but in the
future a .patch file for a patch is usually a good thing to have too.

Chris

On Fri, Oct 3, 2008 at 12:55 PM, Josh Johnston <[EMAIL PROTECTED]>wrote:

>
> I made a patch to the install.sh files that ships with Growl 1.1.4
> that will let you install growlnotify properly from anywhere.
>
> Originally I saw:
>
> jjohnston:~/Sources/php/jjohnston/scratch-tools$ sh /Volumes/
> Growl-1.1.4/Extras/growlnotify/install.sh
> Creating /usr/local/bin
> Creating /usr/local/man/man1
> cp: growlnotify: No such file or directory
> cp: growlnotify.1: No such file or directory
> Installation complete. Please add /usr/local/bin to your PATH if you
> have not already. Consult your shell's documentation if you do not
> know how to do this.
>
>
> Here is the patch:
>
> --- /Volumes/Growl-1.1.4/Extras/growlnotify/install.sh  2008-06-18
> 05:14:39.000000000 -0400
> +++ install.sh  2008-10-03 13:47:47.000000000 -0400
> @@ -3,7 +3,7 @@
>  echo "Creating /usr/local/bin"
>  sudo mkdir -p /usr/local/man/man1
>  echo "Creating /usr/local/man/man1"
> -sudo cp growlnotify /usr/local/bin/growlnotify
> -sudo cp growlnotify.1 /usr/local/man/man1/growlnotify.1
> +sudo cp $(dirname $0)/growlnotify /usr/local/bin/growlnotify
> +sudo cp $(dirname $0)/growlnotify.1 /usr/local/man/man1/growlnotify.1
>
>  echo "Installation complete. Please add /usr/local/bin to your PATH
> if you have not already. Consult your shell's documentat
> ion if you do not know how to do this."
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to