Browse code

Fix variabe subst.

Chmouel Boudjnah authored on 2011/11/02 02:15:36
Showing 1 changed files
... ...
@@ -655,7 +655,7 @@ EOF
655 655
    # Generate swift.conf, we need to have the swift-hash being random
656 656
    # and unique.
657 657
    swift_hash=$(od -t x8 -N 8 -A n </dev/random)
658
-   sed -e "s/%sWIFT_HASH%/$swift_hash/" $FILES/swift.conf > /etc/swift/swift.conf
658
+   sed -e "s/%SWIFT_HASH%/$swift_hash/" $FILES/swift.conf > /etc/swift/swift.conf
659 659
 
660 660
    # We need to generate a object/account/proxy configuration
661 661
    # emulating 4 nodes on different ports we have a litle function