blob: 08d7fb46efa50ed902e27664c78b7abac8f749f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.3 2010/11/28 20:52:44 dholland Exp $
Find GrabWeather where we install it.
--- gkrellweather.c.orig 2003-11-02 12:05:08.000000000 +0000
+++ gkrellweather.c 2003-11-02 12:05:23.000000000 +0000
@@ -983,7 +983,7 @@
options.windspeed_unit = 1;
options.pressure_unit = 1;
strcpy(options.station, DEFAULT_STATION_ID);
- sprintf(options.command, "/usr/share/gkrellm/GrabWeather %s", options.station);
+ sprintf(options.command, "%s/bin/GrabWeather %s", PREFIX, options.station);
sprintf(options.filename, "%s/.wmWeatherReports/%s.dat",
getenv("HOME"), options.station);
}
|