From 3ed564182a775a709b1255f8b2bddd2345b6879a Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Mon, 3 Sep 2018 15:57:11 +0900
Subject: [PATCH] Update prepare script

---
 scripts/prepare | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/prepare b/scripts/prepare
index ba5d4fc..e6194ef 100755
--- a/scripts/prepare
+++ b/scripts/prepare
@@ -1,17 +1,17 @@
-#!/bin/bash
+#!/bin/sh
 
 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.4.0 --single-branch --depth=1 "${PROJDIR}/lib/qtil"
 fi
 
-if [[ ! -d "${PROJDIR}/lib/AppImageUpdate" ]]; then
+if [ ! -d "${PROJDIR}/lib/AppImageUpdate" ]; then
     git clone https://github.com/AppImage/AppImageUpdate.git -b continuous --single-branch --depth=1 "${PROJDIR}/lib/AppImageUpdate"
     git -C "${PROJDIR}/lib/AppImageUpdate" submodule update --init --recursive #--depth=1
 fi
 
-if [[ ! -d "${PROJDIR}/lib/AppImageUpdate-prebuilt" ]]; then
+if [ ! -d "${PROJDIR}/lib/AppImageUpdate-prebuilt" ]; then
     mkdir "${PROJDIR}/lib/AppImageUpdate-prebuilt"
     cd "${PROJDIR}/lib/AppImageUpdate-prebuilt"
     cmake "${PROJDIR}/lib/AppImageUpdate" -DBUILD_QT_UI=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
-- 
GitLab