Support running with sudo
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
[[ "$1" == "--sudo" ]] && prefix="sudo " && shift
|
||||
|
||||
kickstart compile $@
|
||||
(
|
||||
cd compile
|
||||
bash install.sh
|
||||
$prefix bash install.sh
|
||||
)
|
||||
|
Reference in New Issue
Block a user