Commit b79401ab authored by Andrea Scarpino's avatar Andrea Scarpino

add a variable to pass extra options to makepkg

parent b3a9d367
......@@ -20,6 +20,9 @@ FTP_DIR="/arch/x86_64"
# lftp commands or set them in ~/.lftp/rc
LFTP_CMDS="set ftp:ssl-protect-data true; set net:max-retries 3;"
# makepkg extra options
MAKEPKG_EXTRA_OPTS=""
# Enable this if you do not use a changelog file
#NOCHANGELOG="true"
......
......@@ -191,7 +191,7 @@ check_args(){
NOCONFIRM="false"
VERBOSE="false"
MAKEPKG_OPTS="--noconfirm"
MAKEPKG_OPTS="${MAKEPKG_EXTRA_OPTS} --noconfirm"
[ ${UID} -eq 0 ] && MAKEPKG_OPTS="${MAKEPKG_OPTS} --asroot"
if [ -f "${HOME}"/.repoman.conf ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment