Commit c704e0e2 authored by akiraohgaki's avatar akiraohgaki
Browse files

Merge branch 'develop'

parents 983abcdb 98f7c29f
......@@ -105,13 +105,13 @@ build_archlinux_pkg() {
}
export_srcarchive() {
if [ "${1}" ]; then
if [[ "${1}" ]]; then
$(cd "${PROJDIR}" && git archive --prefix="${PKGNAME}/" --output="${1}" HEAD)
fi
}
transfer_file() {
if [ -f "${1}" ]; then
if [[ -f "${1}" ]]; then
filename="$(basename "${1}")"
transferlog="${PROJDIR}/transfer.log"
echo "Uploading ${filename}" >> "${transferlog}"
......@@ -120,6 +120,6 @@ transfer_file() {
fi
}
if [ "${1}" ]; then
if [[ "${1}" = 'ci_'* || "${1}" = 'build_'* ]]; then
${1}
fi
......@@ -2,6 +2,6 @@
PROJDIR="$(cd "$(dirname "${0}")/../" && pwd)"
if [ ! -d "${PROJDIR}/lib/qtil" ]; then
if [[ ! -d "${PROJDIR}/lib/qtil" ]]; then
git clone https://github.com/akiraohgaki/qtil.git -b release-0.3.0 --single-branch --depth=1 "${PROJDIR}/lib/qtil"
fi
Supports Markdown
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