X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by lists.alpinelinux.org (Postfix) with ESMTP id 4646CF85757 for ; Mon, 8 Jul 2019 13:55:39 +0000 (UTC) Received: by mail-pf1-f182.google.com with SMTP id m30so7656309pff.8 for ; Mon, 08 Jul 2019 06:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=rEOTZbDlyApL1Rr6NXLpR3IBS//pYtp8M+uH8spiZUw=; b=Bev74bRo9dvO7HTyrBsvlFAs3p3/NvYbdhLNhGO2gUrOmcMWYl87Htbaxe3AcONcno otDirh/OLW33pHMKv663PKV5pDZrD6WkVidwvAmmhTFfXbqqCaILBueDtdHP68Sjt1IP r3pcOPCR4yUbsvObvcw8uniwB/PukZiOs7I6zAQHC75+7fLW/ipWdQgcxSvnWTvwKzHW Y/dLf2fWIHlYV5SK41eDPXbqExmWKhMtpv29sYq4u3PcZ5W9jYKaKaIEjKCGNdYJBXMF NIGEkNb4fXKuZeT5zxVrxdWUqSczlfHkyd4VOU5nzMrPruEtSjSHQYsTWgldAUHXk8gd hkTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=rEOTZbDlyApL1Rr6NXLpR3IBS//pYtp8M+uH8spiZUw=; b=padv+dYF5pbtvnaXx5PHsU0HI0lApY0DY8KjuUQqd9ab/xU6thrcmXnzJGABeuS295 msoQ3XI4U5yduPKkuu9u0ldqnxHRfqCDbcbV4OQrHZ3rGlAJJss3rWlOjFFzSveNEIUl wIcuZTmZdw6m/xCxjeOCcUxURIbvZujQF8nUrNb5/ZdtNmUiSuf5vITTMAq00u3EgDLz T3eQEz/ZQfZ1jn4mpiWowfv1xhW5FIYeKjiySUAoSrIl3xIgAGI31hEw4vwkkWbYSA9Q XuFAHA2VNgrkLpPVyrSr7mMzzSk7kwOeKkpzDJXi4aX15TKb80jc8rp6xvwbrMsBpIPH yWdg== X-Gm-Message-State: APjAAAVHvMqj8L1+nS2R+tG5ExqzxmE4G98bwwCaPLH9wNhu34qHoAdb Yghp/WEMfkaYq0f6F9f9XsZeYUy7BkM= X-Google-Smtp-Source: APXvYqwduU46HRdiWq8RIf+GqcsXmpJJ6/fWhUfOzFPuKqZfXapWIyeTP7S4hGHJDO4h+B1dfXMyig== X-Received: by 2002:a17:90a:258b:: with SMTP id k11mr24837313pje.110.1562594138511; Mon, 08 Jul 2019 06:55:38 -0700 (PDT) Received: from sunstreaker.phoenixphire.net (ip-146-136.yless4u.com.au. [103.22.146.136]) by smtp.gmail.com with ESMTPSA id s24sm19873142pfh.133.2019.07.08.06.55.37 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 06:55:38 -0700 (PDT) From: Anthony Davies To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] scripts/bootstrap.sh: Make script usage display Date: Mon, 8 Jul 2019 23:55:33 +1000 Message-Id: <20190708135533.30954-1-anthony.t.davies@gmail.com> X-Mailer: git-send-email 2.22.0 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- scripts/bootstrap.sh | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 6a23e98cfc..5e0b496a47 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -8,6 +8,29 @@ SUDO_APK=abuild-apk # optional cross build packages KERNEL_PKG="linux-firmware linux-vanilla" +if [ -z "$TARGET_ARCH" ]; then + program=$(basename $0) + cat <&2 } -if [ -z "$TARGET_ARCH" ]; then - program=$(basename $0) - cat <