unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 18a8f68cca3079019ae16c3873fb87291a95b825 768 bytes (raw)
name: patches/nvi-assume-preserve-path.patch 	 # note: path name is non-authoritative(*)

 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
28
29
30
 
Make configure assume nvi can store backups in /var/tmp.

--- a/dist/configure	2014-09-01 14:46:01.075778095 +0200
+++ b/dist/configure	2014-09-01 14:52:08.411790122 +0200
@@ -21319,23 +21319,8 @@
 if test "${vi_cv_path_preserve+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  	dirlist="/var/preserve /var/tmp /usr/tmp"
-	vi_cv_path_preserve=no
-	for i in $dirlist; do
-		if test -d $i/vi.recover; then
-			vi_cv_path_preserve=$i/vi.recover
-			break;
-		fi
-	done
-	if test "$vi_cv_path_preserve" = no; then
-		for i in $dirlist; do
-			if test -d $i -a -w $i; then
-				vi_cv_path_preserve=$i/vi.recover
-				break;
-			fi
-		done
-
-	fi
+#	Assume /var/tmp
+	vi_cv_path_preserve=/var/tmp/vi.recover
 fi
 
 if test "$vi_cv_path_preserve" = no; then

debug log:

solving 18a8f68cca3079019ae16c3873fb87291a95b825 ...
found 18a8f68cca3079019ae16c3873fb87291a95b825 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).