From e1b5e32b4c096e8d204b25fb0b4286304e858d21 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Sat, 30 Mar 2024 23:37:56 +0100 Subject: [PATCH] Revert "fix(just): install with absolute paths" This reverts commit a8020c5261decaed29e3c503770303df13340f31. Closes #226 --- scripts/common.just | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/common.just b/scripts/common.just index 0ed7810..8571ad7 100644 --- a/scripts/common.just +++ b/scripts/common.just @@ -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' \ No newline at end of file