ceph/debvers.sh
Sage Weil f377168905 debian: update scripts to build ubuntu (maverick, lucid) packages too
Signed-off-by: Sage Weil <sage@newdream.net>
2011-01-05 12:40:55 -08:00

15 lines
297 B
Bash
Executable File

#!/bin/sh
raw=$1
dist=$2
[ "$dist" = "sid" ] && dver="$raw"
[ "$dist" = "squeeze" ] && dver="$raw~bpo60+1"
[ "$dist" = "lenny" ] && dver="$raw~bpo50+1"
[ "$dist" = "maverick" ] && dver="$raw$dist"
[ "$dist" = "lucid" ] && dver="$raw$dist"
[ "$dist" = "karmic" ] && dver="$raw$dist"
echo $dver