fix(just): install with absolute paths
This commit is contained in:
parent
a2c498b7ac
commit
a8020c5261
1 changed files with 5 additions and 5 deletions
|
|
@ -1,12 +1,12 @@
|
|||
# Installation command
|
||||
[no-cd, private]
|
||||
[private]
|
||||
install-cmd options src dest:
|
||||
install {{options}} {{src}} {{dest}}
|
||||
install {{options}} {{ invocation_directory() }}/{{src}} {{ invocation_directory() }}/{{dest}}
|
||||
|
||||
[no-cd, private]
|
||||
[private]
|
||||
install-bin src dest: (install-cmd '-Dm0755' src dest)
|
||||
|
||||
[no-cd, private]
|
||||
[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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue