diff --git a/justfile b/justfile index f0e51d0..b13a8d1 100644 --- a/justfile +++ b/justfile @@ -6,12 +6,14 @@ build TARGET: just {{TARGET}}/build install TARGET='all' DIR="~/.bin/": - if {{TARGET}} = all { - just install scripts {{DIR}} - just install mkwin {{DIR}} - just install path-convert {{DIR}} - just install qdls {{DIR}} - } else { - just {{TARGET}}/install `realpath {{DIR}}` - } + #!/usr/bin/bash + if [[ {{TARGET}} == 'all' ]]; then + just install scripts {{DIR}} + just install mkwin {{DIR}} + just install path-convert {{DIR}} + just install qdls {{DIR}} + chmod +x {{DIR}}/qdls + else + just {{TARGET}}/install `realpath {{DIR}}` + fi