On 07/15/2012 08:27 PM, Jens Weber wrote: > Signed-off-by: Jens Weber <[email protected]> > --- > script/simple2farm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/script/simple2farm b/script/simple2farm > index a7bc109..0743f20 100755 > --- a/script/simple2farm > +++ b/script/simple2farm > @@ -28,7 +28,7 @@ config_offset=11 > # Get the backend store from config file > echo "Read config file" > store=$(od --skip-bytes=$config_offset -An -c ../config | sed 's/ //g' | sed > 's/\\0//g') > -if [ $store == "farm" ]; then > +if [ "x$store" == "xfarm" ]; then > echo "It's already the farm store, we'er done" > exit 0 > fi >
Applied after adding a subject. thanks Yuan -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
