From patchwork Sun Sep 30 14:18:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dieter Ries X-Patchwork-Id: 1528961 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4DDB140135 for ; Sun, 30 Sep 2012 14:25:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751487Ab2I3OZN (ORCPT ); Sun, 30 Sep 2012 10:25:13 -0400 Received: from psi.thgersdorf.net ([176.9.98.78]:44041 "EHLO mail.psioc.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751476Ab2I3OYr (ORCPT ); Sun, 30 Sep 2012 10:24:47 -0400 Received: from localhost (localhost [127.0.0.1]) by localhost.psioc.net (Postfix) with ESMTP id 90F384D64C2; Sun, 30 Sep 2012 16:18:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at psioc.net Received: from mail.psioc.net ([127.0.0.1]) by localhost (mail.psioc.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yzj-4X2KTayU; Sun, 30 Sep 2012 16:18:38 +0200 (CEST) Received: from psioc.net (unknown [195.176.92.20]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.psioc.net (Postfix) with ESMTPSA id 4FFC74D64AA; Sun, 30 Sep 2012 16:18:38 +0200 (CEST) From: Dieter Ries To: linux-btrfs@vger.kernel.org Cc: Dieter Ries Subject: [PATCH 1/3] btrfs-progs: Remove redundant "Btrfs" string from version string Date: Sun, 30 Sep 2012 16:18:28 +0200 Message-Id: <1349014710-16089-2-git-send-email-mail@dieterries.net> X-Mailer: git-send-email 1.7.3.GIT In-Reply-To: <1349014710-16089-1-git-send-email-mail@dieterries.net> References: <1349014710-16089-1-git-send-email-mail@dieterries.net> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org In the first line of version.sh, $v was set to "Btrfs vx.yy", and in the end "Btrfs $v" was echoed to the version.h file. This resulted in the version string "Btrfs Btrfs vx.yy". This patch removes the second occurrence of "Btrfs". Signed-off-by: Dieter Ries --- version.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/version.sh b/version.sh index af3e441..2c1aff1 100644 --- a/version.sh +++ b/version.sh @@ -46,7 +46,7 @@ fi echo "#ifndef __BUILD_VERSION" > .build-version.h echo "#define __BUILD_VERSION" >> .build-version.h -echo "#define BTRFS_BUILD_VERSION \"Btrfs $v\"" >> .build-version.h +echo "#define BTRFS_BUILD_VERSION \"$v\"" >> .build-version.h echo "#endif" >> .build-version.h diff -q version.h .build-version.h >& /dev/null