From patchwork Thu Jun 20 15:53:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 253018 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id CA4AF2C0209 for ; Fri, 21 Jun 2013 01:54:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A1177A02CB; Thu, 20 Jun 2013 15:54:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXVugMZm8I-f; Thu, 20 Jun 2013 15:53:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6B067A020A; Thu, 20 Jun 2013 15:53:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 863308F79E for ; Thu, 20 Jun 2013 15:54:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7AA6D8D006 for ; Thu, 20 Jun 2013 15:53:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iBkOY9i-TZC3 for ; Thu, 20 Jun 2013 15:53:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0AD5C8D01F for ; Thu, 20 Jun 2013 15:53:52 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id c11so5578827wgh.13 for ; Thu, 20 Jun 2013 08:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=USkFCQOR3TNdkIBhMGFUcSjSasUiVe6X3D2xP8vriWI=; b=CEB7hfyP17tMtAvh4v21rR9j28CacrFU+tJa36jnQ47geNcmwHQrzmgoXbTRN7OAOF WVxaVgmTOFPKRXg4kaYi7RwQXMOSmp5p8LfVsUBXs7P9ZklXqYTQ/mKeRwwNLqLm5aNr rG+ZqgzW1IPW1CDuATdjP68LZ271krFD6txDVZn6Y+Ip5EcOnHYll+V4Uouj64iiKOCl B9KjV6DPLjiAwM0aLIaY9EayEOItuOpB7pNtQyd7EhihCGkGpmoRmyOKSUb9N7CB5Uz2 /FPmB3e760R+3xn/Xf8dXbCJx1Q4gELBbpHFWrRDmWrdxmApSyGfcrZeODVXXDg4mDFK nPZA== X-Received: by 10.194.243.226 with SMTP id xb2mr6364733wjc.67.1371743631416; Thu, 20 Jun 2013 08:53:51 -0700 (PDT) Received: from lnx-rg.pr (lyon.paratronic.fr. [213.41.177.106]) by mx.google.com with ESMTPSA id o14sm17082109wiv.3.2013.06.20.08.53.49 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 08:53:50 -0700 (PDT) From: Richard Genoud To: buildroot@busybox.net Date: Thu, 20 Jun 2013 17:53:28 +0200 Message-Id: <1371743610-17810-3-git-send-email-richard.genoud@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1371743610-17810-1-git-send-email-richard.genoud@gmail.com> References: <1371743610-17810-1-git-send-email-richard.genoud@gmail.com> Subject: [Buildroot] [PATCH 2/4] tcl: add a tclsh symlink X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net tclsh is installed with its version number (tclshx.y) but scripts (like usb_modeswitch_dispatcher) are calling tclsh, not tclshx.y. Signed-off-by: Richard Genoud --- package/tcl/tcl.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index 1c23420..d81ad50 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -28,6 +28,8 @@ define TCL_POST_INSTALL_CLEANUP fi -if [ "$(BR2_PACKAGE_TCL_TCLSH)" != "y" ]; then \ rm -f $(TARGET_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR); \ + else \ + ln -s tclsh$(TCL_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/tclsh ; \ fi endef