author | Michael Krelin <hacker@klever.net> | 2007-07-07 16:49:19 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-16 11:43:49 (UTC) |
commit | 2b97142421c04098b72021b0526873a54ba951d7 (patch) (unidiff) | |
tree | fecb325510f285ed7e08bb4a917afc15f6fd2576 | |
parent | 6e556a6cd6b4edf2abcf08a657c9f0b19a0fca76 (diff) | |
download | opie-2b97142421c04098b72021b0526873a54ba951d7.zip opie-2b97142421c04098b72021b0526873a54ba951d7.tar.gz opie-2b97142421c04098b72021b0526873a54ba951d7.tar.bz2 |
opiealarm: substitute hardcoded paths with defines
-rw-r--r-- | core/opiealarm/opiealarm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/opiealarm/opiealarm.c b/core/opiealarm/opiealarm.c index 422865c..b948ef2 100644 --- a/core/opiealarm/opiealarm.c +++ b/core/opiealarm/opiealarm.c | |||
@@ -369,4 +369,4 @@ int resume ( int resuspend ) | |||
369 | setenv ( "HOME", "/root", 1 ); | 369 | setenv ( "HOME", "/root", 1 ); |
370 | setenv ( "LD_LIBRARY_PATH", "/opt/QtPalmtop/lib", 1 ); | 370 | setenv ( "LD_LIBRARY_PATH", OPIE_LIBDIR, 1 ); |
371 | setenv ( "QTDIR", "/opt/QtPalmtop", 1 ); | 371 | setenv ( "QTDIR", OPIE_QTDIR, 1 ); |
372 | 372 | ||
@@ -375,3 +375,3 @@ int resume ( int resuspend ) | |||
375 | // no need for system() since this process is no longer useful anyway | 375 | // no need for system() since this process is no longer useful anyway |
376 | execv ( "/opt/QtPalmtop/bin/qcop", argv ); | 376 | execv ( OPIE_BINDIR "/qcop", argv ); |
377 | 377 | ||