Revert "fix(just): install with absolute paths"

This reverts commit a8020c5261.

Closes #226
This commit is contained in:
Michael Aaron Murphy 2024-03-30 23:37:56 +01:00
parent 8ef9450c9e
commit e1b5e32b4c
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -1,12 +1,12 @@
# Installation command
[private]
[no-cd, private]
install-cmd options src dest:
install {{options}} {{ invocation_directory() }}/{{src}} {{ invocation_directory() }}/{{dest}}
install {{options}} {{src}} {{dest}}
[private]
[no-cd, private]
install-bin src dest: (install-cmd '-Dm0755' src dest)
[private]
[no-cd, private]
install-file src dest: (install-cmd '-Dm0644' src dest)
# Check if required dependencies are installed on the system
@ -45,4 +45,4 @@ dep-lib lib:
# Display a formatted error for the user.
[private]
print-error msg key value:
@echo '\e[0;31mERROR {{msg}}, \e[1;31m{{key}}: \e[0;31m{{value}}\e[0m'
@echo '\e[0;31mERROR {{msg}}, \e[1;31m{{key}}: \e[0;31m{{value}}\e[0m'