Skip to content

Commit

Permalink
fix(sail): POSIX compliance for shebang script
Browse files Browse the repository at this point in the history
/bin/bash is not guaranteed to exist on all Linux distributions, NixOS
does not have one.

Prefer `/usr/bin/env` which should really (empirically) always exist.

Signed-off-by: Raito Bezarius <[email protected]>
  • Loading branch information
RaitoBezarius committed Jan 16, 2025
1 parent 7b15019 commit 4e0b68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sail
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

SAIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export SAIL_DIR
Expand Down

0 comments on commit 4e0b68f

Please sign in to comment.