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

Make bash scripts executable

parent d722a16e
No related branches found
No related tags found
No related merge requests found
......@@ -10,5 +10,5 @@ branches:
script:
- mntdir='/mnt/ocs-manager'
- docker run --rm -v $(pwd):${mntdir} ubuntu:14.04 /bin/bash -c "sh ${mntdir}/scripts/package ci_appimage"
- docker run --rm -v $(pwd):${mntdir} ubuntu:14.04 /bin/bash -c "${mntdir}/scripts/package ci_appimage"
- cat transfer.log
......@@ -8,7 +8,7 @@ curl -fsSL -o linuxdeployqt.AppImage https://github.com/probonopd/linuxdeployqt/
chmod 755 linuxdeployqt.AppImage
./linuxdeployqt.AppImage --appimage-extract
sh scripts/prepare
./scripts/prepare
qmake PREFIX=/usr
make
make INSTALL_ROOT="${PKGNAME}.AppDir" install
......
......@@ -30,7 +30,7 @@ ci_appimage() { # docker-image: ubuntu:14.04
useradd -m ${PKGUSER}
chown -R ${PKGUSER} "${PROJDIR}"
su -c "export HOME=/home/${PKGUSER} && source /opt/qt59/bin/qt59-env.sh && sh "${PKGSCRIPT}" build_appimage" ${PKGUSER}
su -c "export HOME=/home/${PKGUSER} && source /opt/qt59/bin/qt59-env.sh && "${PKGSCRIPT}" build_appimage" ${PKGUSER}
transfer_file "$(find "${BUILDDIR}" -type f -name "${PKGNAME}*.AppImage")"
}
......@@ -42,7 +42,7 @@ build_appimage() {
tar -xzf "${BUILDDIR}/${PKGNAME}.tar.gz" -C "${BUILDDIR}"
cp "${PROJDIR}/pkg/appimage/appimagebuild" "${BUILDDIR}/${PKGNAME}"
cd "${BUILDDIR}/${PKGNAME}"
sh appimagebuild
./appimagebuild
}
export_srcarchive() {
......
File mode changed from 100644 to 100755
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