From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: `("bash" "-c" "cd \"$1\" && cmake .. && make" "--" ,(concat (straight--repos-dir "emacs-libvterm") "build")) Date: Fri, 3 Dec 2021 14:28:56 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6659"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 03 07:29:32 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mt24a-0001b2-AE for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 07:29:32 +0100 Original-Received: from localhost ([::1]:45598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mt24Y-0006qL-BV for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 01:29:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt24D-0006qA-Go for help-gnu-emacs@gnu.org; Fri, 03 Dec 2021 01:29:09 -0500 Original-Received: from [2607:f8b0:4864:20::a29] (port=41788 helo=mail-vk1-xa29.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mt24C-0004uV-8Y for help-gnu-emacs@gnu.org; Fri, 03 Dec 2021 01:29:09 -0500 Original-Received: by mail-vk1-xa29.google.com with SMTP id 188so1160382vku.8 for ; Thu, 02 Dec 2021 22:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=JSZ8aRSv6Zzoa03hBBQcyc0GdL0WsGJRFJfd35IJOJw=; b=RcageZEQH/q+wIMEVY2UpoOZEtxMOctQlBGCT5FzuhwZciqyzsYdmQkKH9peLKNGVK acTJvHqTqvgnk0dX4lImbjMtc8lTNH8uMnTB0WvLqg74fZScO3lIiiM9IgZjTFU+nXSh BNhX+zFKI8cMhGIWrGxOMx8voc275Y7xrLfoBYQD9l+9+0KLLUYJM/y3yIhXzsIHph/y NrM4mnIDDoAn7iLPmbxUto8g58FoWGtQbO3KJ52x4fDfIp8FQnjjbCjwCsMLb506NpQM 2PCmVF6p/nAONypPmAMU1k4gixh0NMSyQ//f6Ge67yPYCjb6DdXsDlbfdm8p5Ind5kyT 4xZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JSZ8aRSv6Zzoa03hBBQcyc0GdL0WsGJRFJfd35IJOJw=; b=ocP3AEEk9MirnUnsGVcxVcXpWGQ6ytoJwNaNZj8HYPayKCBic8AXbFMlPLeXH7y6qf 3to5c43AE9qM8o4HcPdqxc3ulRLv0SVNQxwGGgE9t4JI2LdpFMZ6pHqP/+C6OIt6jpMI a8g6VCZXCOsnlHMfF6K5SAxGledA+XQEUEZ+p4r0mXyDcIBDf4dDOUbKzdE1YYlg37Lk IPPcFs2Kz/A5fpu44clOOwDXNRpzsKL25YT32G5THepKgppRVTbwCiQVDr5XnzfQvTtN P7v3YcVOgELSPv3alG9vJgzpQrvahAy+3WVlKoV53YON39+0iYbrcx+2ArQ44eESgYr0 U3AA== X-Gm-Message-State: AOAM530JW+93jdygRm8DPKw+SlaKmekWItkQfdBWim14NScEtvhXF2I8 fTYwRaUEq2Z+pLsewG48hwaEFJXEINo0J8wtJ863SrIrVkQ4/plV X-Google-Smtp-Source: ABdhPJyQf0ZjFAAMmqZmlG+QSvqMEX5xYuvkm7C5WtMrWYlMB4Pn9up8z4wwOQEs47dv+guSmUqthu7AW0ikrC9Auy8= X-Received: by 2002:a1f:1bd4:: with SMTP id b203mr20579500vkb.32.1638512947367; Thu, 02 Dec 2021 22:29:07 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a29 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::a29; envelope-from=hongyi.zhao@gmail.com; helo=mail-vk1-xa29.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134803 Archived-At: I try to install vterm through straight's use-package integration with the following configuration: 1. (use-package vterm :straight ( :pre-build ( ("rm" "-fr" "build") ("mkdir" "build") ("bash" "-c" "cd build && cmake .. && make") ))) 2. (use-package vterm :straight ( :pre-build ( (shell-command "rm -fr build && mkdir build && cd $_ && cmake .. && make") ))) 3. (use-package vterm :straight ( :pre-build ( ("rm" "-fr" "build") ("mkdir" "build") `("bash" "-c" "cd \"$1\" && cmake .. && make" "--" ,(concat (straight--repos-dir "emacs-libvterm") "build")) ))) In the above methods, 1. and 2. can, but 3. can't build the vterm module when I'm running `M-x straight-rebuild-package RET vterm RET'. So, I want to know what's wrong with the following bash command calling method: `("bash" "-c" "cd \"$1\" && cmake .. && make" "--" ,(concat (straight--repos-dir "emacs-libvterm") "build")) By comparison to the following working one: ("bash" "-c" "cd build && cmake .. && make") Regards, HZ