From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: Scripting for installing a module Date: Sat, 2 Jul 2022 14:09:43 -0700 Message-ID: <7c8a83de-85d3-60b3-eb0d-98e54ba27316@gmail.com> References: <20220701171539.uuwwdnvtkvsfetc4@jamescrake-meraniarch> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36549"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Jul 02 23:10:06 2022 Return-path: Envelope-to: guile-user@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 1o7kNR-0009Ne-QD for guile-user@m.gmane-mx.org; Sat, 02 Jul 2022 23:10:05 +0200 Original-Received: from localhost ([::1]:35256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7kNQ-0003hr-M0 for guile-user@m.gmane-mx.org; Sat, 02 Jul 2022 17:10:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7kNC-0003hT-D9 for guile-user@gnu.org; Sat, 02 Jul 2022 17:09:50 -0400 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:55067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7kNB-0001Vq-23 for guile-user@gnu.org; Sat, 02 Jul 2022 17:09:50 -0400 Original-Received: by mail-pj1-x102a.google.com with SMTP id s21so1259750pjq.4 for ; Sat, 02 Jul 2022 14:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=1Hwk5mHLVMZly0mrFc2BqiKiCo8ILkqIu9M4jydAhWI=; b=NTlwAKLeBWlaEti5gRwBg4tO8lr4Z0Wa9spbRHdB8UJaZmSSKk2+H0GtFYWd08N96A coPrg0sbl4zO9fHg+NYvfgp0Vx8X5UXeVZYkd5udIG0O1JPF0Pf3zOi6vKtEA7KsEV4U kkhiYAy8cBmS0wPDTqlbMASWpA6gerBxRi8cmA40VsPVj5YtAbPzrkJsytKz1E4rfdwN l7odxEICP0eP8CT5MwAVPhoFiJ4+lTCCYL1ne4Qn6X5T2dlKtKD1k74FNApEj4IPMpAc KRfBJg8/nwdi1FLW0uV8jc8zd3p/KaX0i7JECFUqhe2egP13zMaj/Z9fMqfvujWuax6b VHsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=1Hwk5mHLVMZly0mrFc2BqiKiCo8ILkqIu9M4jydAhWI=; b=TqdQdZWG4wLKxOasGktoVbo/PoZ4POgOKEA4rmyt105lfrxe0TXNme82+1UfthoenL jDjbwGXl2obT2Yl+bvkNWpMhApnhwZpFhJqEYF5c33x8Dta0kfNoPl/VYka6kDts4dU6 3F0RulfWXbtiQnqSIOShI2M352qf0wLLN7hrrZ9FtwIusu4OJt0i0QSkm2r5un1fvbRp B1ydXBMYB51iiURNtzc7Ky9+xj5GHP6smuWWaOP6lDsKMQbCGydxjpHnh+sYp5xZR5Fs 9AFlKdlmf76QT3p9v70CIOvnb7F1Zn0xsFOYkVWstbMvEMzsdL4liufZ3sk9EBntdrZS SxYQ== X-Gm-Message-State: AJIora+h5Nkme7RdGS63Ag4i8BWvOCswOImwxoxRbnqbDngjpKC2R2k8 0vyO/8fqa/mQ4+xAmpGPWefv58ifQ5E= X-Google-Smtp-Source: AGRyM1uF4+JISkBlpOj4j0VquGZwBCGMAQPgVOnQMh/6frOCSXcR0bIn9h1qqKyOvDW8V2GpcHwukA== X-Received: by 2002:a17:90b:4c49:b0:1ec:e8a2:b5f0 with SMTP id np9-20020a17090b4c4900b001ece8a2b5f0mr25904891pjb.21.1656796186572; Sat, 02 Jul 2022 14:09:46 -0700 (PDT) Original-Received: from [192.168.2.158] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id r22-20020a63fc56000000b0041154ac0f1csm10378857pgk.44.2022.07.02.14.09.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Jul 2022 14:09:45 -0700 (PDT) Content-Language: en-US In-Reply-To: <20220701171539.uuwwdnvtkvsfetc4@jamescrake-meraniarch> Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=matt.wette@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18385 Archived-At: Another option is some variant of     $ sudo cp xyz/file.scm `guile -c '(display (%global-site-dir))'`/xyz/file.scm On 7/1/22 10:15 AM, James Crake-Merani wrote: > guile -c '(display (%global-site-dir))'Hello, > > I was just wondering what approach people tend to take when writing a script which installs a module onto the load-path. I understand this path might be different on different machines so how do you make sure the module is installed in the right path? Would you use something like a Makefile? > > Thanks. >