Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
executable file 12 lines (10 sloc) 0.298 kb
#!/bin/sh
if git describe | sed s/-/_/g > version.num.tmp
then
mv version.num.tmp version.num
echo "m4_define([VERSION_NUMBER], [`tr -d '\n' < version.num`])" \
> version.m4
sed s/@VERSION@/`cat version.num`/ < memcached.spec.in > memcached.spec
else
rm version.num.tmp
fi
Jump to Line
Something went wrong with that request. Please try again.