Skip to content
Snippets Groups Projects
Commit a40e39f0 authored by akiraohgaki's avatar akiraohgaki
Browse files

Fix find command

parent 99f4f0d4
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ build_ubuntu() {
su -c "sh "${BUILDSCRIPT}" ${BUILDTYPE}" ${PKGUSER}
transfer_file "$(find "${PROJDIR}/build_*" -type f -name "${PKGNAME}*.deb")"
transfer_file "$(find "${PROJDIR}/build_"* -type f -name "${PKGNAME}*.deb")"
}
build_fedora() {
......@@ -60,7 +60,7 @@ build_fedora() {
su -c "sh "${BUILDSCRIPT}" ${BUILDTYPE}" ${PKGUSER}
transfer_file "$(find "${PROJDIR}/build_*" -type f -name "${PKGNAME}*.rpm")"
transfer_file "$(find "${PROJDIR}/build_"* -type f -name "${PKGNAME}*.rpm")"
}
build_archlinux() {
......@@ -76,7 +76,7 @@ build_archlinux() {
su -c "sh "${BUILDSCRIPT}" ${BUILDTYPE}" ${PKGUSER}
transfer_file "$(find "${PROJDIR}/build_*" -type f -name "${PKGNAME}*.pkg.tar.xz")"
transfer_file "$(find "${PROJDIR}/build_"* -type f -name "${PKGNAME}*.pkg.tar.xz")"
}
build_snap() {
......@@ -92,7 +92,7 @@ build_snap() {
su -c "sh "${BUILDSCRIPT}" ${BUILDTYPE}" ${PKGUSER}
transfer_file "$(find "${PROJDIR}/build_*" -type f -name "${PKGNAME}*.snap")"
transfer_file "$(find "${PROJDIR}/build_"* -type f -name "${PKGNAME}*.snap")"
}
build_appimage() {
......@@ -110,7 +110,7 @@ build_appimage() {
su -c "sh "${BUILDSCRIPT}" ${BUILDTYPE}" ${PKGUSER}
transfer_file "$(find "${PROJDIR}/build_*" -type f -name "${PKGNAME}*.AppImage")"
transfer_file "$(find "${PROJDIR}/build_"* -type f -name "${PKGNAME}*.AppImage")"
}
if [ "${BUILDTYPE}" = 'ubuntu' ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment