diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-04 17:35:31 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-04 17:35:31 -0400 |
commit | 1698022beafffcb54b15a6e7a4773e1801a432b5 (patch) | |
tree | 7f066a16ab8436556274882bf78782bd9fef6bd0 /scripts | |
parent | d9ff7bbcd2eef852f18ad65d79aa6b6f7c58535c (diff) |
Fix pacman-optimize autoconf paths
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 4 | ||||
-rw-r--r-- | scripts/pacman-optimize.in | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 20aa209b..1d711b84 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -33,12 +33,10 @@ MOSTLYCLEANFILES = $(bin_SCRIPTS) *.tmp edit = sed \ -e 's|@localedir[@]|$(localedir)|g' \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ + -e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@prefix[@]|$(prefix)|g' \ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \ - -e 's|@ROOTDIR[@]|$(ROOTDIR)|g' \ - -e 's|@DBPATH[@]|$(DBPATH)|g' \ - -e 's|@LOCKFILE[@]|$(LOCKFILE)|g' \ -e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g' ## All the scripts depend on Makefile so that they are rebuilt when the diff --git a/scripts/pacman-optimize.in b/scripts/pacman-optimize.in index aaae6d24..3f7f51f7 100644 --- a/scripts/pacman-optimize.in +++ b/scripts/pacman-optimize.in @@ -26,9 +26,8 @@ export TEXTDOMAIN='pacman' export TEXTDOMAINDIR='@localedir@' myver='@PACKAGE_VERSION@' -# TODO fix these paths -dbroot='@ROOTDIR@@DBPATH@' -lockfile='@ROOTDIR@@LOCKFILE@' +dbroot='@localstatedir@/lib/pacman/' +lockfile='@localstatedir@/run/pacman.lck' msg() { local mesg=$1; shift |