diff --git a/gbar.sh b/gbar.sh index 6e5fde5..609c3a9 100644 --- a/gbar.sh +++ b/gbar.sh @@ -82,9 +82,9 @@ debian | ubuntu) local cloneDir="$(mktemp)" echo_info "Cloning gBar source into $cloneDir/gbar" - git clone --depth=1 https://github.com/scorpion-26/gBar.git "$cloneDir/gbar" - cd "$cloneDir/gbar" + cd "$cloneDir" || mkdir "$cloneDir" && cd "$cloneDir" + git clone --depth=1 https://github.com/scorpion-26/gBar.git gbar && cd gbar run meson setup build