Browse Source

remove "e" backup extension thing from sed call

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
860069e012
  1. 2
      pyweb/gen_secret_key.sh

2
pyweb/gen_secret_key.sh

@ -23,4 +23,4 @@ print sha1( sys.stdin.read() ).hexdigest();'
KEY=` dd if=/dev/urandom bs=64 count=1 2>/dev/null | python -c "$HASHSCRIPT" `
SECKEY="SECRET_KEY = '$KEY'"
sed -ie "s/^SECRET_KEY.*/${SECKEY}/" settings.py
sed -i "s/^SECRET_KEY.*/${SECKEY}/" settings.py
Loading…
Cancel
Save