diff options
Diffstat (limited to 'libremakepkg')
-rwxr-xr-x | libremakepkg | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libremakepkg b/libremakepkg index 272e61d..54a5578 100755 --- a/libremakepkg +++ b/libremakepkg @@ -41,7 +41,12 @@ CLEAN_CACHE="" update_first="n" chrootname=${CHCOPY} _PKGINSTALL="" -while getopts 'hcun:I:' arg; do +#libremakepkg own args +libremakepkgargs='hcun:I:' +#now makepkg args +libremakepkgargs+='ACdefiLmoprRs' + +while getopts ${libremakepkgargs} arg ; do case "${arg}" in h) usage; exit 0 ;; c) _CLEAN="-c" ;; @@ -73,7 +78,6 @@ fi msg "Creating the package" -makechrootpkg $_CLEAN -r ${CHROOTDIR} -l "${chrootname}" $_PKGINSTALL \ - -- $_MAKEPKG_ARGS +makechrootpkg $_CLEAN -r ${CHROOTDIR} -l "${chrootname}" $_PKGINSTALL -- $_MAKEPKG_ARGS exit 0 |