build/upload: why not both

This commit is contained in:
Franco Fichtner 2019-12-12 14:26:32 +01:00
parent 6f4ce3c69a
commit 3c9c9219a5
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2018 Franco Fichtner <franco@opnsense.org> # Copyright (c) 2018-2019 Franco Fichtner <franco@opnsense.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
@ -45,6 +45,9 @@ for ARG in ${@}; do
base|kernel) base|kernel)
upload ${ARG} ${SETSDIR} "${ARG}-*${PRODUCT_DEVICE+"-${PRODUCT_DEVICE}"}*" upload ${ARG} ${SETSDIR} "${ARG}-*${PRODUCT_DEVICE+"-${PRODUCT_DEVICE}"}*"
;; ;;
distfiles)
upload ${ARG} ${SETSDIR} "${ARG}-*"
;;
log) log)
upload ${ARG} ${LOGSDIR} "${PRODUCT_VERSION}-*" upload ${ARG} ${LOGSDIR} "${PRODUCT_VERSION}-*"
;; ;;