mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
bf2a56f8ec
* gnu/packages/nvi.scm: New file. * gnu/packages/patches/nvi-assume-preserve-path.patch: New file. * gnu-system.am: Add them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
30 lines
768 B
Diff
30 lines
768 B
Diff
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
|