bugLibreDWG - Bugs: bug #65300, Incorrect shebang /log

 
 

bug #65300: Incorrect shebang /log

Submitter:  None
Submitted:  Tue 13 Feb 2024 12:23:05 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  reini_urban
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 Feb 2024 08:43:44 PM UTC, comment #2: 

I am running Arch and I have bash in /bin/bash (symlink to /usr/bin/bash), I have no idea why @BASH@ is getting expanded to just bash instead of /bin/bash or /usr/bin/bash.

If I grep config.log for bash, I get this:

configure:13375: checking for bash
configure:13396: found /usr/bin/bash
configure:13407: result: bash
ac_cv_prog_BASH='bash'
BASH='bash'


Anonymous
Tue 13 Feb 2024 07:55:58 AM UTC, comment #1: 


original submission:

> The file /log is generated with the following shebang:
> #!bash
>
> automake: 1.16.5
> autoconf: 2.72
>
> LibreDWG: 0.13.2


That depends on your environment, and I cannot repro it.
log.in has #!@BASH@

with BASH expanded to the path of bash, /bin/bash on linux or
/usr/local/bin/bash on BSD's, macOS has 3 major options: old included, homebrew, macports.

and this tool is not installed, only used for local testing.

Reini Urban <reini_urban>
Group administrator
Tue 13 Feb 2024 12:23:05 AM UTC, original submission:  

The file /log is generated with the following shebang:
#!bash

automake: 1.16.5
autoconf: 2.72

LibreDWG: 0.13.2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by reini_urban (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-02-27 reini_urban Severity3 - Normal 2 - Minor
        Assigned toNone reini_urban
    2024-02-13 reini_urban StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code