basename fix
This commit is contained in:
parent
8ee3f84f73
commit
4607ad9d1a
2
larbs.sh
2
larbs.sh
@ -72,7 +72,7 @@ adduserandpass() { \
|
|||||||
|
|
||||||
gitmakeinstall() {
|
gitmakeinstall() {
|
||||||
dir=$(mktemp -d)
|
dir=$(mktemp -d)
|
||||||
dialog --title "LARBS Installation" --infobox "Installing \`$(basename $1)\` ($n of $total) via \`git\` and \`make\`. $1 ${@:2}." 5 70
|
dialog --title "LARBS Installation" --infobox "Installing \`$(basename $1)\` ($n of $total) via \`git\` and \`make\`. $(basename $1) ${@:2}." 5 70
|
||||||
git clone --depth 1 "$1" $dir &>/dev/null
|
git clone --depth 1 "$1" $dir &>/dev/null
|
||||||
cd $dir
|
cd $dir
|
||||||
make &>/dev/null
|
make &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user