From 3b3b775f3bb668671fe91ac4b440b466f668be46 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 1 Nov 2011 17:42:52 +0100 Subject: [PATCH] Ordering is important here. --- stack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack.sh b/stack.sh index a449255..3e0ea21 100755 --- a/stack.sh +++ b/stack.sh @@ -627,8 +627,8 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]];then # Create directories tmpd="" - for d in /etc/swift /etc/swift/{object,container,account}-server \ - ${SWIFT_LOCATION}/{1..4}/node/sdb1 /var/run/swift ${s}/{1..4};do + for d in ${s}/{1..4} /etc/swift /etc/swift/{object,container,account}-server \ + ${SWIFT_LOCATION}/{1..4}/node/sdb1 /var/run/swift ;do [[ -d $d ]] && continue sudo install -g stack -o stack -d $d done