diff options
author | Sage Weil <sage@newdream.net> | 2010-07-08 23:27:57 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-07-08 23:27:57 +0200 |
commit | b81273d5ec9e6ff15e46676a80d57827871b668d (patch) | |
tree | dad6e17a2b0c9a730a5f619a4ccf458cda3be7e4 /push.sh | |
parent | osd: fix delayed pg creation use after free (diff) | |
download | ceph-b81273d5ec9e6ff15e46676a80d57827871b668d.tar.xz ceph-b81273d5ec9e6ff15e46676a80d57827871b668d.zip |
debian: make helper scripts remember most recent release
So you don't have to cut&paste it on the command line
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'push.sh')
-rwxr-xr-x | push.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,8 +4,10 @@ set -e remote=ceph.newdream.net vers=$1 +[ -z "$vers" ] && [ -e .last_release ] && vers=`cat .last_release` [ -z "$vers" ] && echo specify version && exit 1 [ ! -d release/$vers ] && echo release/$vers dne && exit 1 +echo version $vers shift |