diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-02-02 12:45:03 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-02-02 12:45:03 -0600 |
commit | 8ae41d104086544631aaf76fd213c5ae8a32de64 (patch) | |
tree | bdafe2d65f40fecf0f945a0da6a5dd3fcf80a479 | |
parent | f1c9c11681680e059abc0bb56f0b20a726c29f91 (diff) |
Use autotools to make pm-action and pm-powersave location independent.
-rwxr-xr-x | src/pm-action.in | 2 | ||||
-rwxr-xr-x | src/pm-powersave.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pm-action.in b/src/pm-action.in index 68dbb93..b9b32dd 100755 --- a/src/pm-action.in +++ b/src/pm-action.in @@ -84,7 +84,7 @@ do shift done -export PM_FUNCTIONS="/usr/lib/pm-utils/functions" +export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" . "${PM_FUNCTIONS}" [ -f /sys/power/state ] || exit 1 diff --git a/src/pm-powersave.in b/src/pm-powersave.in index 5611586..51de744 100755 --- a/src/pm-powersave.in +++ b/src/pm-powersave.in @@ -25,7 +25,7 @@ # POWERSAVE_LOGFILE="/dev/null" -PM_FUNCTIONS="/usr/lib/pm-utils/functions" +PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" . "${PM_FUNCTIONS}" if [ "x$1" = "xtrue" -o "x$1" = "xfalse" ] ; then |