| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- Listen to the env variable FPC_CFG - use !/usr/bin/env bash instead of !/bin/bash in the shebang (not very important)
| #============================================================================= | ||
|
|
||
| # Global: will be set by detect_fpc | ||
| FPC_CFG="" |
There was a problem hiding this comment.
Not needed because bash default value is an empty string
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Hi, I am trying to package this program to NixPkgs. To be able to do so I need to be able to set a custom path for the FPC_CFG variable. fpc.cfg is not located in the same directory as the fpc program in nix.
also the use of the shebang !/usr/bin/env bash is preferable to !/bin/bash because not all UNIX system have a /bin/bash (nixos doesnt have it for example).
this is not very important for me as i can just ignore the shebang by executing the program like bash ./src/build_fpc.sh