[tracker/wip/removable-device-completed: 1/11] Update tracker-sandbox



commit fc4756f23fc7a6722f2ab23892e1ad716e2f2cf0
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Mon May 28 14:50:40 2012 +0900

    Update tracker-sandbox

 utils/tracker-sandbox |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/utils/tracker-sandbox b/utils/tracker-sandbox
index 24cd4fa..bf6ee43 100755
--- a/utils/tracker-sandbox
+++ b/utils/tracker-sandbox
@@ -66,6 +66,12 @@ if [ "$SEPARATE_USER_MODE" != "true" ]; then
 
 	TEMP_DIR=/tmp/tracker-test
 	mkdir -p $TEMP_DIR
+
+	# Set up a bit of a fake user account
+	if [ ! -e "$TEMP_DIR/user-dirs.dirs" ]; then
+		ln -s $HOME/.config/user-dirs.dirs $TEMP_DIR/user-dirs.dirs
+	fi
+
 	export XDG_CACHE_HOME=$TEMP_DIR
 	export XDG_CONFIG_HOME=$TEMP_DIR
 	export XDG_DATA_HOME=$TEMP_DIR



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]