Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
fix: use proper shebang line
Browse files Browse the repository at this point in the history
This is the most portable shebang line and should always be used.
  • Loading branch information
Arcitec authored and xynydev committed May 10, 2023
1 parent 4466008 commit f24c407
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Tell build process to exit if there are any errors.
set -ouex pipefail
Expand Down
4 changes: 2 additions & 2 deletions etc/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ distrobox-ubuntu:
distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 -n ubuntu -Y

setup-flatpaks:
#!/bin/bash
#!/usr/bin/env bash
echo 'Installing flatpaks from the ublue recipe ...'
flatpaks=$(yq '.flatpaks[]' < /usr/etc/ublue-recipe.yml)
for pkg in $flatpaks; do \
Expand Down Expand Up @@ -62,7 +62,7 @@ nix-me-up:
/usr/bin/ublue-nix-install

update:
#!/bin/bash
#!/usr/bin/env bash
echo "Staging system update..."
rpm-ostree update
Expand Down
2 changes: 1 addition & 1 deletion scripts/example.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
Expand Down

0 comments on commit f24c407

Please sign in to comment.