Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ The post-install script is templated using Jinja, with the following variables a
The use of Jinja templates is demonstrated in the following example of a bash script that generates an activation script that adds the installation path of GROMACS to the system PATH:

```bash title="post-install script that generates a simple activation script."
#!/bin/bash
#!/usr/bin/env bash

gmx_path=$(spack -C {{ env.config }} location -i gromacs)/bin
echo "export PATH=$gmx_path:$PATH" >> {{ env.mount }}/activate.sh
Expand Down
2 changes: 1 addition & 1 deletion stackinator/etc/bwrap-mutable-root.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
args=()
shopt -s dotglob
for d in /*; do
Expand Down
2 changes: 1 addition & 1 deletion stackinator/etc/envvars.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import argparse
import json
Expand Down
2 changes: 1 addition & 1 deletion unittests/data/arbor-uenv/meta/configure.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"-c",
"./cache.yaml"
],
"python": "/usr/bin/python3",
"python": "/usr/bin/env python3",
"version": "4.1.0-dev"
},
"time": "20240611 12:06:38"
Expand Down
2 changes: 1 addition & 1 deletion unittests/recipes/host-recipe/post-install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "====================================="
echo "===== post install hook ====="
Expand Down
2 changes: 1 addition & 1 deletion unittests/recipes/host-recipe/pre-install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "====================================="
echo "===== pre install hook ====="
Expand Down
2 changes: 1 addition & 1 deletion unittests/test-envvars.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

root=$(pwd)
input_path=${root}/data/arbor-uenv
Expand Down
2 changes: 1 addition & 1 deletion unittests/test_schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import pathlib
from textwrap import dedent
Expand Down
Loading