Message ID | AM9PR09MB485154A57747BBF1FDFEB33B84402@AM9PR09MB4851.eurprd09.prod.outlook.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82567D30007 for <qemu-devel@archiver.kernel.org>; Fri, 18 Oct 2024 13:20:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1t1mtL-0008NL-AQ; Fri, 18 Oct 2024 09:19:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <aleksandar.rakic@htecgroup.com>) id 1t1mtE-0008Me-Vv for qemu-devel@nongnu.org; Fri, 18 Oct 2024 09:19:38 -0400 Received: from mail-am0eur02on20730.outbound.protection.outlook.com ([2a01:111:f403:2606::730] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <aleksandar.rakic@htecgroup.com>) id 1t1mtD-0005ca-8C for qemu-devel@nongnu.org; Fri, 18 Oct 2024 09:19:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fqbtvmfnNlgBbpA220Dz2Ly+U1qGVGwPxCeQ3rUWQ1JqgKAkqLg/hK9V48Y74dHGLzQQ7ZwdRrCVuRXxXWTK3P9A19B2EPxaOJHV7owhBXWXgs34KSbTtlbKD1K5jocTna08KWd4ZdzXfv+f4ZvO0exNLVbTFjBQ/5vtIkyqoyN/SqXLYZRMMPUsbEBl3s67Vim7aVrRtZbuanZbPSb9ZxSvQCaiMB/hVXCx8wl1QQh4OcDiq9DwGZejolRH2mI3dU5L7FCsvREURbGQD+kyqnagLFXtqL8U+4aPWhszYmcXMY7pWdfhg9eHO8G+myijbXORW0gwjspZVIer39rfXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KkevpJfmlsGSMyUP8vJGhx4J0UGT8NylVO7A0D4KapM=; b=YESUBjYbiS5UIRnFcm0U5NIz7WQy/WjOaVhAAewOXlu8ATF17w888SaBCJflE0620ABCEWYJg+ZfmGsDY7Ms/IPhJcq5r+PmrpkkBNb9/781H6bsF7qpJ2OICSN2DJAkv5ymu3zkZXc1vf9c1bIH8yiSHs/sXObXEIdXsv0kM6IEw9idaN7Axaylhb4PUNv4GmkqLYTSFv8VmNk/AGifdEnz9qSOzx0xBCSRStE7BGOq60EDleIUefsknSQZciq93Dxt2IPcEwOiKY0OQUVcJ/Z3BHTbUOulJOoteAnfdYBMd/2zaRCfC/JNDu0JeCmC3MOanxxC1FH6IFq1+7pGtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=htecgroup.com; dmarc=pass action=none header.from=htecgroup.com; dkim=pass header.d=htecgroup.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=htecgroup.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KkevpJfmlsGSMyUP8vJGhx4J0UGT8NylVO7A0D4KapM=; b=EWHqd6/43M6iPIG+JDRtrG8tq7wSijblceEWuthOmuHGGsP0SRO99ahdxhPd1tAY7+EvcLwYdwjrahprYDzK2cnfN1xoc0k2/rXuoDjZXr0YwISnRC1hHCe68cNX7ca4FjxwSPUdC2UvQvLEoJiQ3Ash9RQDzngaMQQ6CYSEsER+fIgmPd5X2RluYaC3PhpSM8JZ/ZdjwIXBSAz1eeZ4zXpCCL6VISeOhLKLJThKyMqZhfa7kXLtM4KuOv5ACEI0oF1q0h5I/YMaiEWhyijdLa9EIs08x936ctXZffe0DDscohDpDCGhuT8FKuRkRovi27G2TFWeoT1qsT0WurfUEA== Received: from AM9PR09MB4851.eurprd09.prod.outlook.com (2603:10a6:20b:2d4::13) by GV2PR09MB5889.eurprd09.prod.outlook.com (2603:10a6:150:ae::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.21; Fri, 18 Oct 2024 13:19:31 +0000 Received: from AM9PR09MB4851.eurprd09.prod.outlook.com ([fe80::2fed:370:dd45:13a2]) by AM9PR09MB4851.eurprd09.prod.outlook.com ([fe80::2fed:370:dd45:13a2%6]) with mapi id 15.20.8069.020; Fri, 18 Oct 2024 13:19:31 +0000 From: Aleksandar Rakic <aleksandar.rakic@htecgroup.com> To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org> CC: Djordje Todorovic <Djordje.Todorovic@htecgroup.com>, "cfu@mips.com" <cfu@mips.com>, "arikalo@gmail.com" <arikalo@gmail.com>, "peter.maydell@linaro.org" <peter.maydell@linaro.org> Subject: [PATCH v2 3/8] GTM19-448: Fix script to work without realpath Thread-Topic: [PATCH v2 3/8] GTM19-448: Fix script to work without realpath Thread-Index: AQHbIVzWUPTYba2KSka2xB5Ywsxm/Q== Date: Fri, 18 Oct 2024 13:19:31 +0000 Message-ID: <AM9PR09MB485154A57747BBF1FDFEB33B84402@AM9PR09MB4851.eurprd09.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=htecgroup.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM9PR09MB4851:EE_|GV2PR09MB5889:EE_ x-ms-office365-filtering-correlation-id: aecdfb61-27be-4bb3-9e3e-08dcef7780b5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?a03MpVzxBrcPf+JU770UzZn+aC?= =?iso-8859-1?q?nexo46XDqW3bhaMXgvtXDZ1fjU1FyvEgLY2l65SHMR7z8iCsLuTqc1SWuxsW?= =?iso-8859-1?q?kO9oK2WRD25Id0V+lXSCmJBqDf0+i7zA96fTOSisT1v7n+wv6gM73rDjXH4b?= =?iso-8859-1?q?KG6FVBgDec/+iDhsSbeELQMFxmXDc9hL1TKS03U+9ouik0MDJAjx929/ISAo?= =?iso-8859-1?q?XeAgL2Xi9iF5W1uTzCFPxbf+1nyt0cHO09iH2V4GKtILPocXQ7d5p5SVQgdZ?= =?iso-8859-1?q?xXgKXJdMdRTLBvkzVdu3o34KXwURDHYilYVsG2AHpI0famnCFhAFXdr44pl9?= =?iso-8859-1?q?r7DFCf8W7YSDdVet4AAgegtDyob4aDxW3u3zPxxSAM9VlIaeB/03H1SR/lZP?= =?iso-8859-1?q?+CeWkMjGZnipIr4MlHayDpFcjIJ1qYlRN/FtQeWfzCy0nqtul4sQyZldHGsw?= =?iso-8859-1?q?EHt15GvwAmF9ghfKSY74m73PkJvKIUbfp60pMJ9zVhzK2r9vOy8WUhISb37F?= =?iso-8859-1?q?maON/CQcvwGMgMMG6RPxkQbjYHOuLr9VtaQpIJkOvReByCuYsRhpoI1LvzCa?= =?iso-8859-1?q?gtlmmf5jFZwr0O20LnsbTYTbwaWMsRjIvtkpb9XtdJ3M2DYvE/gzLjCJe+60?= =?iso-8859-1?q?FWB/E76QSErpBPmLqhOGCe/qxeqQ+z9pNYOp2usJR8TTF7Lx85pdI5t3b/Xr?= =?iso-8859-1?q?LIYYkZ6RLwqIO46PphOfYcv87r5wFzYWXvO9reRyIavUxt9Sv1eb5BkuVg+e?= =?iso-8859-1?q?dU02v259KB2cdI57MunH879mqYNrRfSd0wS4NoGSzqJcBT92SU/qRJhImB2Y?= =?iso-8859-1?q?hPlvr0I/NgT3kY7W8wsnSI0VrtoPWK3rWQftFct0fUS9S5YTG8gqxDDGdxNs?= =?iso-8859-1?q?fjNoTo/+MkDCgPUK+R2OnZabZnj0OftLvwhGUJo0r355rgp/OCGMVYMtY26y?= =?iso-8859-1?q?HlkphxVgWyGRtR96uXOJdDldiJ/UjfB1aNrmnSubpzNqZ9bDGM1tLTbeuLjX?= =?iso-8859-1?q?T5qbkC/KMpQjozkCtuWsabNBpMKathRQcOGTEqCNvwIxISirKUkgGbdr4dq0?= =?iso-8859-1?q?H1MQOaICNVNjE26Ysz9hysYjg0rv2n5sPLpXJWz0GNsNtEMZOQDcysDlO6d8?= =?iso-8859-1?q?L0W5ONnHn5mD9DWXw+JIQfWqYOXrmPoYKEXKNWM+74ObXHWke7U13LMWJUrI?= =?iso-8859-1?q?ONh4/O9rPgCUrtTOUozXjQvVjdb8Kd9PQ+Dzf6GYv/GMvQU5VC/aOe5QtqDI?= =?iso-8859-1?q?9BUfKc0mCtaEhh1b6BzEnWuZqMLyufpFJWR0rhbi59DeYc0/G0gTLn/RPuV9?= =?iso-8859-1?q?xIduvuup+WZ6IbZBS2nrNzDl+slqadjnsAYRLipaUivpNE3Ocy7ZI2TUcerS?= =?iso-8859-1?q?gMOJJo0XYDq76AGRlP9+MPMbaDNcnxsQlRne2ZJOTktuvuOQYTgiwYTXkxum?= =?iso-8859-1?q?bY?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR09MB4851.eurprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?2PWWaKAtw4cAYtAwrDY0xCL?= =?iso-8859-1?q?XkLXeeJ06CGlrzNI6lt5dhvVzTAhjupvDT1gpLr9V/xSr3m8rZuyMj6Zzl4o?= =?iso-8859-1?q?YB/62Ao0apNt+q//HkD9zPAlvyQvu1hV+12an+fjI8k8AG7sxg2cOsj2Je8O?= =?iso-8859-1?q?Dqa4e4ROiyRCG1snHjnXdfsSEVSf8mvgZKHp2VmSZmguJlJEGAiWlehq8pwi?= =?iso-8859-1?q?BQObwHh/5aCi8CPqXTgfX/v27u7VybgCgTShuu6n1QRGFFfCz7Dwqp/xScrT?= =?iso-8859-1?q?BqCpzPc8wflbZlS+VuflUJ7xtpsunHk0DbEPzZtoBuexh1S2u/r47ACpX6dq?= =?iso-8859-1?q?hzinly0MQKYZ3DVA5n1c7AQSqte/JPcE/bGcbWn6Cq8InCI+XdiSmfXRvo61?= =?iso-8859-1?q?oQ2Tn72UyNh1oqIc6gF0XCoAfZUMH+OO/Qf/4RdRwEVS9qyVDlFa/nBteXtI?= =?iso-8859-1?q?yf9BtYk7U16kWQjNw0DcqD9ltiSvQbdEeBH2QO9I+mNnIvWa1r8J86kEy18Z?= =?iso-8859-1?q?uZVX8V82hP47wYoa4mMBf0shlPM8UVG3e1pR6XnI7pllak720VY+h+qa6oQ3?= =?iso-8859-1?q?CO+gc+D/NX/aextqvf0a/QuJmuWKULhRiBhH5IodUEr0llCS6JIpvSNw2Nv9?= =?iso-8859-1?q?kP+xz3rmO8f3h8iXMxaAlarcooEr8ukOOwaMB7ikTwXk/WciEfYLtGo2tsfX?= =?iso-8859-1?q?tMYukkdNxYHqYGxMz4X4idNt9FcHb+8Xa8NfV83cyiUZb3ImK3anjMcuPJIi?= =?iso-8859-1?q?nf2+sBPId/627rrlIvn5DROGzw1FKi5GqUGsWuVHBugQPS4JI7L6HOJKQI83?= =?iso-8859-1?q?TyCNPcoJH9st2og1+TXiPBLuisP3PF/cf1W+rJkpzxi+11SxF30Y85kcQa8T?= =?iso-8859-1?q?rY8/kzU12xIm0pI1khrixy1nculDcQ4K0A9cO6tQvxab3UlkTD8f8KnJxF3g?= =?iso-8859-1?q?d3kYPkK/SkeeCRkKNv653EhYhnW/r7W4ndTXayraSYha0yu2C4vTLn6kenoE?= =?iso-8859-1?q?yp4FWDfOFzhqqEtKVwKF9kRnkbCm36yRthMmph0OmNMvt4qOujYm50YExteP?= =?iso-8859-1?q?YZAMxqmMUA6GtRy/rFBsqJQJWfvXyf8X8mdnuYZNfgULEIk747I0Kms6dAjE?= =?iso-8859-1?q?RKx9GM8m/EPE5S7kK5/RRMbvlfdWJxK66pfC7UwR8AE71CnvWz2xLhIQV5ZL?= =?iso-8859-1?q?hqUCLlvcNZtBIOI7GkIgoVGr+OB58OQNTBAXVNqZ8qfAFaZIJRTgp3mSL3r0?= =?iso-8859-1?q?j5APQTVpcj1DnsuJ8jIp1Jf+n/mK6aUZmE81SD/zu66GS98EOKIoKOlKgWkO?= =?iso-8859-1?q?ctauhrOZ/zaw4LWcLUGwItsjOv04oy0e9VIF31RT8DaGRi9lWeQTrRs1cSIZ?= =?iso-8859-1?q?Jk9IzpWLIb7Pj0lqk0XL7jwVzG8V4JXKUNb2FjhN0yUtRG/o6uXE7HM9ah9F?= =?iso-8859-1?q?nQ2s3ojOVXFXvhqKkw9YUI5aVMFbxm4Px/53Eoi2bvcdCzFjg00KxOBsgrfG?= =?iso-8859-1?q?5Dr93JXuRpv9aWgHR7goCLvFhG3M7074o0/bU91xAWnJZd/b5d/LSQVz/axY?= =?iso-8859-1?q?2Jm3Q3fqRqsbs3RNQ+JL/K/hrdirQX40luC2nT8FGtUsx9PDXwRiMt/1kEdZ?= =?iso-8859-1?q?KJiJ+GPq86EZjsI19BMrWBtxpr4mIGjE4R53ghw=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: htecgroup.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4851.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aecdfb61-27be-4bb3-9e3e-08dcef7780b5 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2024 13:19:31.9201 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9f85665b-7efd-4776-9dfe-b6bfda2565ee X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rAa5JQop0xP8J4xkE9BFQfyd6Wkbm0/NldkQ7zWJsDquec9CG7ujlAWw+08jNLylwmif2sZxyJLKb0yb9T3NVTXolXAQKpnxvEXIsfaAehk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR09MB5889 Received-SPF: pass client-ip=2a01:111:f403:2606::730; envelope-from=aleksandar.rakic@htecgroup.com; helo=EUR02-AM0-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org |
Series |
[v2,1/8] Add CP0 MemoryMapID register implementation
|
expand
|
diff --git a/scripts/archive-source.sh b/scripts/archive-source.sh index 65af8063e4..7f16803772 100755 --- a/scripts/archive-source.sh +++ b/scripts/archive-source.sh @@ -18,7 +18,13 @@ if test $# -lt 1; then error "Usage: $0 <output tarball>" fi -tar_file=$(realpath "$1") +which realpath +if [ $? -eq 0 ]; then + tar_file=$(realpath -s "$1") +else + d=$(dirname "$1") + tar_file=$(readlink -e "$d")"/"$(basename "$1") +fi sub_tdir=$(mktemp -d "${tar_file%.tar}.sub.XXXXXXXX") sub_file="${sub_tdir}/submodule.tar"