diff options
-rwxr-xr-x | build_one.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build_one.sh b/build_one.sh index 2bb9bbb..4454ed6 100755 --- a/build_one.sh +++ b/build_one.sh @@ -1,7 +1,12 @@ #!/bin/sh + +case $(hostname) in + *.mageia.org) sudo="sudo -u bcd";; +esac + ./update_bootloader_files.sh if [ $# -gt 0 ] ; then - drakclassic $* + $sudo drakclassic $* else - drakclassic --clean --all + $sudo drakclassic --clean --all fi |