Commit e679e7c5 authored by Andrea Scarpino's avatar Andrea Scarpino

fix noedit option

parent 51e031c6
......@@ -67,8 +67,10 @@ build_pkg(){
fi
[ "${pkgvcs}" == "git" -o "${pkgvcs}" == "svn" -o "${pkgvcs}" == "cvs" -o "${pkgvcs}" == "hg" -o "${pkgvcs}" == "darcs" ] && FORCE="true";
[ ${EDIT} ] && edit_pkgbuild ${pkgname}
if [ ${NOCONFIRM} != "true" ]; then
[ ${EDIT} ] && edit_pkgbuild ${pkgname}
fi
cd ${WORKSPACE}/pkgs/${pkgname}
source PKGBUILD
packagever=${pkgver}-${pkgrel}
......@@ -223,9 +225,9 @@ check_args(){
create) CREATE="true"; ADD="true" ;;
all) ALL="true"; ADD="true" ;;
devel) DEVEL="true"; ADD="true"; FORCE="true" ;;
edit) EDIT="false" ;;
force) FORCE="true" ;;
log) MAKEPKG_OPTS="${MAKEPKG_OPTS} -L" ;;
noedit) EDIT="false" ;;
noextract) MAKEPKG_OPTS="${MAKEPKG_OPTS} -e" ;;
noupload) NOUPLOAD="true" ;;
nobuild) NOBUILD="true" ;;
......
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