Update cloneAndMake()
This commit is contained in:
parent
2bd6d6264a
commit
de2b4f36e7
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cloneAndMake() {
|
cloneAndMake() {
|
||||||
if [ -z $password ]; then
|
if [ -z "$password" ]; then
|
||||||
password=$(displayDialogBox --passwordbox "Enter your password" VALUES 3>&1 1>&2 2>&3)
|
password=$(displayDialogBox --passwordbox "Enter your password" VALUES 3>&1 1>&2 2>&3)
|
||||||
echo "$password" | sudo -S bash -c "" > /dev/null 2>&1
|
echo "$password" | sudo -S bash -c "" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue