You are not logged in.

#1 2023-09-30 11:53:14

dogknowsnx
Guest

[SOLVED] makepkg.conf shebang

Is it just me?

~ ❯ head -n1 /etc/makepkg.conf*                                                                                                                                                  
==> /etc/makepkg.conf <==
#!/hint/bash

==> /etc/makepkg.conf.pacnew <==
#!/hint/bash

AFAIU a script without a shebang (e. g. a commented line) will use /bin/sh -> /bin/bash running vanilla Arch Linux?

For the record, I never had any issues using 'makepkg'...

Last edited by dogknowsnx (2023-09-30 12:15:27)

#2 2023-09-30 11:58:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: [SOLVED] makepkg.conf shebang

What's the issue here?

Offline

#3 2023-09-30 12:00:28

dogknowsnx
Guest

Re: [SOLVED] makepkg.conf shebang

Scimmia wrote:

What's the issue here?

Well - it's stated as a question...

EDIT: Mods please move to a discussion subforum if deemed more appropriate...

Last edited by dogknowsnx (2023-09-30 12:03:28)

#4 2023-09-30 12:04:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: [SOLVED] makepkg.conf shebang

I see two questions.

"Is it just me?" Is what just you?

"AFAIU a script without a shebang (e. g. a commented line) will use /bin/sh -> /bin/bash running vanilla Arch Linux?" You link says it will be run in the shell it was launched from, but I don't see what that has to do with anything else in the post.

Is that really what you were looking for?

Offline

#5 2023-09-30 12:07:05

dogknowsnx
Guest

Re: [SOLVED] makepkg.conf shebang

@Scimmia Let me try to rephrase: Is it just me who's never seen a '#!/hint/bash' shebang? EDIT: Solved and thanks for making me laugh big_smile

Last edited by dogknowsnx (2023-09-30 12:18:51)

#6 2023-09-30 12:10:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: [SOLVED] makepkg.conf shebang

Maybe? It's just there for editor syntax hilighting..

Last edited by Scimmia (2023-09-30 12:12:40)

Offline

Board footer

Powered by FluxBB