Skip to content

Commit 3ad2375

Browse files
committed
justfile: Make just get-started POSIX sh compliant
This makes it also work with dash as /bin/sh on debian for instance. Signed-off-by: Rune Morling <ermo@serpentos.com>
1 parent 62c734b commit 3ad2375

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

justfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ get-started: (build "boulder") (build "moss")
3030
@echo ""
3131
@echo "Installing boulder and moss to {{xdg-bin-home}}/ ..."
3232
@mkdir -p "{{xdg-bin-home}}/"
33-
@cp "{{root-dir}}/target/{{build-mode}}"/{boulder,moss} "{{xdg-bin-home}}/"
33+
@cp "{{root-dir}}/target/{{build-mode}}"/boulder "{{xdg-bin-home}}/"
34+
@cp "{{root-dir}}/target/{{build-mode}}"/moss "{{xdg-bin-home}}/"
3435
@rm -rf "{{xdg-data-home}}/boulder"
3536
@mkdir -p "{{xdg-data-home}}/boulder/"
3637
@cp -R "{{root-dir}}/boulder/data"/* "{{xdg-data-home}}/boulder/"
3738
@echo ""
3839
@echo "Listing installed files..."
39-
@ls -hlF "{{xdg-bin-home}}"/{boulder,moss} "{{xdg-data-home}}/boulder"
40+
@ls -hlF "{{xdg-bin-home}}"/boulder "{{xdg-bin-home}}"/moss "{{xdg-data-home}}/boulder"
4041
@echo ""
4142
@echo "Checking that {{xdg-bin-home}} is in \$PATH..."
4243
@echo "... {{xdg-bin-home}} {{xdg-bin-home-in-path}}"

0 commit comments

Comments
 (0)