Message ID | PA4PR09MB4864148D80DAFFF5698F1A40846B2@PA4PR09MB4864.eurprd09.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
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 48161CDD1AF for <qemu-devel@archiver.kernel.org>; Fri, 27 Sep 2024 13:26:54 +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 1suAzA-0005N6-TH; Fri, 27 Sep 2024 09:26:16 -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 1su9gW-0002AV-Lw for qemu-devel@nongnu.org; Fri, 27 Sep 2024 08:02:56 -0400 Received: from mail-vi1eur02on20725.outbound.protection.outlook.com ([2a01:111:f403:2607::725] helo=EUR02-VI1-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 1su9gU-0000A0-Vk for qemu-devel@nongnu.org; Fri, 27 Sep 2024 08:02:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qk2RUzhHYuCUQolFCvSZFldJCxaMFG5Vd3tHPhKbhl85FEUNewDe+ZhZkKsBfHLPDWHs/qGrXsseQGooVlKi8SJ8wQcCN3QBnM1P2O89xzjhZtZ328S5hjVwecrtLzTlsS4vyH+XmZJN5fkU3mYXXLwq/a+V+4ysW9R6fQmvFDblTV0/GH8Yc48ANt1TIdgmsRslC2NFXu5pvd1wGn9wGl7Q1ojQRzSCZ7a+Pz7kMpvdr5drrW9XseBwCc0/2T83ZfATUdMdW2zTg8b5Xswko3LX+7ucTHRNzLvl4g9JCOSbPRf/BqPxozwt0k1OigVYLkNGWrXK8jpEqRBQ28fCXQ== 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=KdIa/WoedWE4JbUHb3jfXxRJ62eL+5ERmsJzGJJ0FTI=; b=lX/cYqQyHPGIUMzqX2+t46emriwQZps/W2G7C2TBfHEcdnElHtgcMXybHm2icZ+51w8fqj99yqAFB2S4fG2soEoYv+YijEMuCJ4zKd9yKjUvm4vZzEq5n7whsmBzl2KKA3a1EhY9YhyYrmljzKUmQcIm27lDUpFy18cswjvEA5jXy48aWjoxAmKgHq1z/4o3/AtrWkLJ0zPZEXUkKwHOcSJvhcaECGjNyIHYAv673RO/al96SsboXjtB1nM5w5FB1gHz46McVqXfM9sgr7j3o2NQIPSm6TXD+SW3S3kunlKIkp6BzV9SYt+1vH36R/WsFikdEoA6hciZlxOAQ01Xuw== 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=KdIa/WoedWE4JbUHb3jfXxRJ62eL+5ERmsJzGJJ0FTI=; b=AwKPOudvODuc/GtG1pUjkyZXGBAhOjklCujrtzVsL3X9sy1BSBzL37MbgcnHEhcYbvz+sE+CYD+VaVF5x3YGA2t4lrHFXs5kn4WHldPJkGwFeNEp7/WrYZdWxiuE9xlzUFFu+tk4dIvAtJj4XaKuWv8wx6V1DBocmd4kKwOi6AqHyaoYn1fEbxIP04CkPeZ74QIMlMhU4Er5Tt1kKeYvnyGzdpHROfma7seP5sG1RMRhgLhKcP0+ix8iPvR7kAChJmtmx1cpQpdjYmVSyvuFWorfdnoYN2NnxssRtILvci94YFl9BGZk5DNwZOB0H3tkhobjVN0DVg47cX80loio5Q== Received: from PA4PR09MB4864.eurprd09.prod.outlook.com (2603:10a6:102:ed::17) by DU0PR09MB5522.eurprd09.prod.outlook.com (2603:10a6:10:342::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Fri, 27 Sep 2024 12:02:48 +0000 Received: from PA4PR09MB4864.eurprd09.prod.outlook.com ([fe80::a02b:9d5c:eca5:e024]) by PA4PR09MB4864.eurprd09.prod.outlook.com ([fe80::a02b:9d5c:eca5:e024%7]) with mapi id 15.20.8005.021; Fri, 27 Sep 2024 12:02:48 +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> Subject: [PATCH 3/8] GTM19-448: Fix script to work without realpath Thread-Topic: [PATCH 3/8] GTM19-448: Fix script to work without realpath Thread-Index: AQHbENQjc+PTju1sVE6vowqY+CTjcA== Date: Fri, 27 Sep 2024 12:02:48 +0000 Message-ID: <PA4PR09MB4864148D80DAFFF5698F1A40846B2@PA4PR09MB4864.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: PA4PR09MB4864:EE_|DU0PR09MB5522:EE_ x-ms-office365-filtering-correlation-id: a23e4b0d-b981-4d83-0bdc-08dcdeec4e20 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?BokJ+BZ9+QtBqH/yloxr+3Umvn?= =?iso-8859-1?q?hImpV0KJXatduivQzlOrahiaZqi0ry9A8+Uc3eQb7Icq9ShbQuYtP7vd9X40?= =?iso-8859-1?q?CoLx9wcCG6/62TPxox6Cmoi7NxKr2zo683SDrIKQca7dVIofma3tRn3Fc7CJ?= =?iso-8859-1?q?YBDqbsJ7OrQnM6PQA6ORmAwaZHl8Zc+qnD5n++pCdVaMjqG3JGPXaW8k+tAE?= =?iso-8859-1?q?VayNYd+rQ4CBMeH2XVkVnK/jYPpw7zFnQcvngGLb6Ft8ew9lGT44L09g5E/p?= =?iso-8859-1?q?9CMNB/ksj+Vjj1tRuEi9vFoG1oftLZwuyK4Hc1Vm7pL3ljJbkL9gBRyIJrNI?= =?iso-8859-1?q?X5yZegUyTMQJ4xp4PcLCiPJU0okL2PtlWJ9TGQz9Dui0ZvBec3D8zA7mZ1Rl?= =?iso-8859-1?q?oqjtSZIQTqFvodmMuir7zE66ASV803xeO6YLymIBizTECLq8sWsbyAiBDGjk?= =?iso-8859-1?q?wu1hvJjhsQBTYHOV0944ho5fy266Bne4Kr7xtgbG7REs0ZRalSLbuC8CtWZu?= =?iso-8859-1?q?F4RJjW6/xJX18JimVhzmEWerB9dyfP+Y9hExTm7e1GsFICGB8MulUjZf8zN3?= =?iso-8859-1?q?2qpFybFhT4cymOW1gJmtOorAB7vrWB3ClhiMW4QdJE+I6LcMDCIU6trZTu53?= =?iso-8859-1?q?BwlOdWEU4lNgbCEd0BUJsnix8144GxeVfA6DT2ws4d33mrTJp//UzyvUY+vG?= =?iso-8859-1?q?dluDlUhvo+Oxy70TWfg+MkjuYK+6Q5UFAMqbR7zUgVEyZIIEsD7+HwkGM6e6?= =?iso-8859-1?q?MX/4lPOiIP89j+X8zhGLkPSE2lai4pjQdkR6cDVKm+DFZEt1pQ9WkVWgCaNT?= =?iso-8859-1?q?Ve0MoW7NfyXsVdVPUmZgQJxqKM6SgOeeCrkeqjFo3UxlO5aVjfmbiU6FqIfG?= =?iso-8859-1?q?U9K7DVXtfoYOL4zY4c+6h7bYm+K25TyES9gCycRa2pG51iE/8hbTeEImkYS7?= =?iso-8859-1?q?1LkJkkd6z0w/kQvybt/LSCPIOHNv3qKqqFDcrxYvFtJ/Y7fRLzHAP1+XiCe1?= =?iso-8859-1?q?Fl6eKEmTxpBNb/xRuGJO+18F6Ej6Y9esJ9aJ7BueiO7LPBQU4v5DeJiqEtGV?= =?iso-8859-1?q?YIq9eOUvwH/48j8U6/C8zh3n86tIIcX3RAmIGZ5X+ziHlJqQkhjhlCjy5gsX?= =?iso-8859-1?q?kshM1W9ZEjOEAjcKEk6BZLEKHk/3PC6DaMYSVCap4OJs3Puxt1w2s8J/4/04?= =?iso-8859-1?q?yG737IZLS/3kscSwv3LJXMSckAAPxp+4DS64MLnQS+ZexwNwbjMjfPLWsaks?= =?iso-8859-1?q?WjpToObIsf5UjQxHdiNl175G3aL4SvVmw94f+uUhfj7qR6laztrOdF881Anf?= =?iso-8859-1?q?xUFn3tqLR/rDcEeiUMOnvvu1hNAXiCHWZJTaev8mhln0QkHfbXc6DPp4Jk+E?= =?iso-8859-1?q?5w0trtqBCT7Jqi0WxV6g=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PA4PR09MB4864.eurprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q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-8859-1?q?tm0kCpYJjCwtZNdvz0WBAeoPPIalE9hY3ypBbLtwm+qB6sNTpmDsVfYEKp8Y?= =?iso-8859-1?q?FQ2RGzczESgqVeu5HWHMuOflX2RRLNSHIrwSVU4m2Udk67ndc1L2IkfyhiWM?= =?iso-8859-1?q?L+ypiSaFXVkFIedfoeqJem2wDy08ILTemLcx627dtjUWH8+2DoS/EQeMDqQN?= =?iso-8859-1?q?objCVzTDMvFeH/QFlCP8xUBFFAzGuRddXQOSpkJB9gmJUK8BTStAWvL8WzXR?= =?iso-8859-1?q?WwVzv4TsyazsS5UXIXhVuee4c28C9IvnZKwl2bfnTdoh9ZrnuHtt+9L7Eqp4?= =?iso-8859-1?q?rmQJKYK+qkqK7DEkK+wuXavJzE8Rkj6DHCSCdgRIacPgC+zhu6101QgX3M7+?= =?iso-8859-1?q?+5nFkGQi0KfScYwAliE+K6aQQLG25v/x4aQPMslKPLRKC/Uk7atcON5k9hni?= =?iso-8859-1?q?9ztPcsndyfgnRyzCVvvWwTtYDkkV19bvql1mPNQzC4RutmU+7k2XWyQmMC4r?= =?iso-8859-1?q?Oi3kwN31CunLEawxvMN0xd0cbEIODJnzbCAG41bIH5njDtVIxIp1oW5yBsmt?= =?iso-8859-1?q?/8pXBYyhyGvQOmHJ2m6gycju0lJCcYVBhVdgP8Lb3tklcipXOIzV6Zjtleob?= =?iso-8859-1?q?y5tXESQWUSO437e7gZgzgSoTwCc3mTNDAozXZ2iLc4IWmN5Y40fXxDeWfrMP?= =?iso-8859-1?q?FWeNilFdH04SSXhsvZFp/fthWoCQW2wdskpJCQ3myG+jnG5kMpuB47GII8iy?= =?iso-8859-1?q?OoG2wafVgVodNJKiiFlrOZraFBzIJqOo84MP9YQ=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: PA4PR09MB4864.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a23e4b0d-b981-4d83-0bdc-08dcdeec4e20 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2024 12:02:48.3932 (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: 1f4AtSYb1TfTi7XhfPRFR9isoopLg+gtOuGOycmfr0kH1dAhpcHkOYef/hOfEcqSi/AEpzxVIgbCnirwU6CABKrzrrpeP2Qbj+GRsh3O2DU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR09MB5522 Received-SPF: pass client-ip=2a01:111:f403:2607::725; envelope-from=aleksandar.rakic@htecgroup.com; helo=EUR02-VI1-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-Mailman-Approved-At: Fri, 27 Sep 2024 09:25:47 -0400 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 |
[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"