unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: jordi <jordila@librebits.info>
Cc: help-guix@gnu.org
Subject: Re: bash scripts in Guix question
Date: Tue, 04 Oct 2022 14:10:48 +0000	[thread overview]
Message-ID: <xHLfz_w6vWAYTcClQSPsDBMSVWt1gPYldgJ9frpl7-431boh-djewo5VFXDs-sF5Ynl07RHKCG3HVd4WqI8YHDUhFEQLrkqAiq7P-yraoOY=@elenq.tech> (raw)
In-Reply-To: <YzwyrJbCMXBTWqaE@mercurio>

Hi,

> Hi guixers,
> 
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
> 
> what do i have to start them with ?
> 
> Thanks,thanks, thanks
> 
> F

We have a link to bash located in /bin/sh so you can just leave /bin/sh. Or you can also use `#!/usr/bin/env bash`

Both should work.

Cheers,
Ekaitz


  reply	other threads:[~2022-10-04 15:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 13:18 bash scripts in Guix question jordi
2022-10-04 14:10 ` Ekaitz Zarraga [this message]
2022-10-04 14:31 ` Fulbert
2022-10-04 14:38 ` Olivier Dion via
2022-10-05  3:38   ` Maxim Cournoyer
2022-10-05  3:58     ` Olivier Dion via
2022-10-05  9:48       ` bash scripts in Guix question - suspend ? jordi
2022-10-05 10:29         ` Tobias Geerinckx-Rice
2022-10-06  0:43       ` bash scripts in Guix question Maxim Cournoyer
2022-10-06  0:56         ` Olivier Dion via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='xHLfz_w6vWAYTcClQSPsDBMSVWt1gPYldgJ9frpl7-431boh-djewo5VFXDs-sF5Ynl07RHKCG3HVd4WqI8YHDUhFEQLrkqAiq7P-yraoOY=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=help-guix@gnu.org \
    --cc=jordila@librebits.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).