about summary refs log tree commit diff
path: root/pkgs/development/compilers/dotnet/fix-tmp-path.patch
blob: 54d7cf2c81dff24bec3493b9e4b0bb5c37198f76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From e0bd79c04c3647dd5abec5e60c031b1f2762a84c Mon Sep 17 00:00:00 2001
From: David McFarland <corngood@gmail.com>
Date: Wed, 10 Jan 2024 02:25:46 -0400
Subject: [PATCH] fix-tmp-path

---
 build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index a1224e4369..555a88fc95 100755
--- a/build.sh
+++ b/build.sh
@@ -211,8 +211,8 @@ elif [ -d "$packagesArchiveDir" ]; then
   if [ -f "${packagesPreviouslySourceBuiltDir}}PackageVersions.props" ]; then
     packageVersionsPath=${packagesPreviouslySourceBuiltDir}PackageVersions.props
   elif [ -f "$sourceBuiltArchive" ]; then
-    tar -xzf "$sourceBuiltArchive" -C /tmp PackageVersions.props
-    packageVersionsPath=/tmp/PackageVersions.props
+    tar -xzf "$sourceBuiltArchive" PackageVersions.props
+    packageVersionsPath=$PWD/PackageVersions.props
   fi
 fi
 
-- 
2.40.1