Browse code

Fix SWIFT_DATA_DIR to follow DATA_DIR

Fixes bug 1162303

Change-Id: I82e45ba7efccd90f936e02872ff2a90524891c32

Dean Troyer authored on 2013/04/30 05:35:00
Showing 1 changed files
... ...
@@ -497,7 +497,7 @@ fi
497 497
 
498 498
 # Set ``SWIFT_DATA_DIR`` to the location of swift drives and objects.
499 499
 # Default is the common DevStack data directory.
500
-SWIFT_DATA_DIR=${SWIFT_DATA_DIR:-${DEST}/data/swift}
500
+SWIFT_DATA_DIR=${SWIFT_DATA_DIR:-${DATA_DIR}/swift}
501 501
 
502 502
 # Set ``SWIFT_CONFIG_DIR`` to the location of the configuration files.
503 503
 # Default is ``/etc/swift``.