File: 08_defaultfsdir.patch

package info (click to toggle)
lmbench 3.0-a9%2Bdebian.1-10
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 3,028 kB
  • sloc: ansic: 12,328; perl: 6,531; sh: 2,784; makefile: 733
file content (19 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: lmbench-3.0-a9+debian.1/scripts/config-run
===================================================================
--- lmbench-3.0-a9+debian.1.orig/scripts/config-run
+++ lmbench-3.0-a9+debian.1/scripts/config-run
@@ -626,13 +626,7 @@ Please specify a directory that has enou
 system.
 
 EOF
-	DEFAULTFSDIR=/var/tmp
-	for t in /var/tmp /tmp; do
-		if [ -d $t -a -w $t ]
-		then	DEFAULTFSDIR=$t
-			break
-		fi
-	done
+	DEFAULTFSDIR=/var/tmp/lmbench
 	echo $ECHON "FSDIR [default $DEFAULTFSDIR]: $ECHOC"
 	read FSDIR
 	if [ X$FSDIR = X ]