[Box Backup-commit] COMMIT r2339 - box/trunk
boxbackup-dev at boxbackup.org
boxbackup-dev at boxbackup.org
Wed Oct 8 20:59:20 BST 2008
Author: chris
Date: 2008-10-08 20:59:20 +0100 (Wed, 08 Oct 2008)
New Revision: 2339
Modified:
box/trunk/configure.ac
Log:
Add @build_dir@ as a substituted variable in autoconf script.
Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac 2008-10-08 19:57:34 UTC (rev 2338)
+++ box/trunk/configure.ac 2008-10-08 19:59:20 UTC (rev 2339)
@@ -307,12 +307,18 @@
AC_SUBST([localstatedir_expanded])
## Figure out the client parcel directory and substitute it
-client_parcel_dir=`perl infrastructure/parcelpath.pl client $target_os`
+build_dir=`dirname $0`
+build_dir=`cd $build_dir && pwd`
+client_parcel_dir=`perl infrastructure/parcelpath.pl backup-client $target_os`
+
os_name=`uname -o`
if test "$os_name" = "Cygwin"; then
client_parcel_dir=`cygpath -wa $client_parcel_dir | sed -e 's|\\\|/|g'`
+ build_dir=`cygpath -wa $build_dir | sed -e 's|\\\|/|g'`
fi
+
AC_SUBST([client_parcel_dir])
+AC_SUBST([build_dir])
## Figure out version and substitute it in
box_version=`perl infrastructure/printversion.pl`
More information about the Boxbackup-commit
mailing list