File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ default:
15
15
# Check Just Syntax
16
16
[group (' Just' )]
17
17
check :
18
- #!/ usr/ bin/ bash
18
+ #!/usr/bin/env bash
19
19
find . -type f -name " *.just" | while read -r file; do
20
20
echo " Checking syntax: $file"
21
21
just --unstable --fmt --check -f $file
26
26
# Fix Just Syntax
27
27
[group (' Just' )]
28
28
fix :
29
- #!/ usr/ bin/ bash
29
+ #!/usr/bin/env bash
30
30
find . -type f -name " *.just" | while read -r file; do
31
31
echo " Checking syntax: $file"
32
32
just --unstable --fmt -f $file
37
37
# Clean Repo
38
38
[group (' Utility' )]
39
39
clean :
40
- #!/ usr/ bin/ bash
40
+ #!/usr/bin/env bash
41
41
set -eoux pipefail
42
42
touch _build
43
43
find *_build* -exec rm -rf {} \;
@@ -55,7 +55,7 @@ sudo-clean:
55
55
[group (' Utility' )]
56
56
[private ]
57
57
sudoif command * args :
58
- #!/ usr/ bin/ bash
58
+ #!/usr/bin/env bash
59
59
function sudoif(){
60
60
if [[ " ${UID}" -eq 0 ]]; then
61
61
" $@"
@@ -141,7 +141,7 @@ build $target_image=image_name $tag=default_tag $dx="0" $hwe="0" $gdx="0":
141
141
# 4. If the image is not found, pull it from the remote repository into reootful podman.
142
142
143
143
_ rootful_load_image $ target_image = image_name $ tag = default_tag:
144
- #!/ usr/ bin/ bash
144
+ #!/usr/bin/env bash
145
145
set -eoux pipefail
146
146
147
147
# Check if already running as root or under sudo
@@ -251,7 +251,7 @@ rebuild-iso $target_image=("localhost/" + image_name) $tag=default_tag: && (_reb
251
251
252
252
# Run a virtual machine with the specified image type and configuration
253
253
_ run-vm $ target_image $ tag $ type $ config :
254
- #!/ usr/ bin/ bash
254
+ #!/usr/bin/env bash
255
255
set -eoux pipefail
256
256
257
257
# Determine the image file based on the type
You can’t perform that action at this time.
0 commit comments