From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A37B71381F3 for ; Tue, 25 Jun 2013 16:39:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3007DE07F4; Tue, 25 Jun 2013 16:39:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7B53E07F4 for ; Tue, 25 Jun 2013 16:39:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7797933BDD3 for ; Tue, 25 Jun 2013 16:39:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1D4C2E468F for ; Tue, 25 Jun 2013 16:39:11 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1372177266.4d154972415a028912fbb578e6024b3c37320217.mschiff@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: Documentation/maintainers/ X-VCS-Repository: proj/kde X-VCS-Files: Documentation/maintainers/regenerate-files X-VCS-Directories: Documentation/maintainers/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 4d154972415a028912fbb578e6024b3c37320217 X-VCS-Branch: master Date: Tue, 25 Jun 2013 16:39:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 425ab89d-1a11-48d7-83d5-4b0887d89f76 X-Archives-Hash: a277cce10cfa67b5c8d9b7f7d1b9a470 commit: 4d154972415a028912fbb578e6024b3c37320217 Author: Marc Schiffbauer gentoo org> AuthorDate: Tue Jun 25 16:21:06 2013 +0000 Commit: Marc Schiffbauer schiffbauer net> CommitDate: Tue Jun 25 16:21:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=4d154972 [Documentation] Drop requirement to cd to scriptdir in regenerate_files --- Documentation/maintainers/regenerate-files | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/maintainers/regenerate-files b/Documentation/maintainers/regenerate-files index f7f34ec..6dd39af 100755 --- a/Documentation/maintainers/regenerate-files +++ b/Documentation/maintainers/regenerate-files @@ -3,12 +3,10 @@ # Make sure that all systems have the same sort order and date format export LC_ALL=C -SCRIPT=`basename $0` -if [[ ! -f "${PWD}/${SCRIPT}" ]]; then - echo "You need to be in '"`dirname $0`"' dir to run this script." - exit -1 -fi +# change directory to script location +cd "$(dirname $0)" +SCRIPT=$(basename $0) HEADER="# Autogenerated by ${SCRIPT}, DO NOT EDIT." KDE_RELEASES="4.10 4.11"