[projects/cleanbuild] use tmpfs=0 to disable tmpfs

glen glen at pld-linux.org
Tue Jan 22 14:32:45 CET 2019


commit 8e5e409e7a64a9757b2202647d0f7ec8ac2854c4
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Jan 22 15:32:39 2019 +0200

    use tmpfs=0 to disable tmpfs

 cleanbuild-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cleanbuild-docker.sh b/cleanbuild-docker.sh
index 6a9ac30..ffec62e 100755
--- a/cleanbuild-docker.sh
+++ b/cleanbuild-docker.sh
@@ -38,7 +38,7 @@ is_no() {
 }
 
 tmpfs() {
-	if is_no "${TMPFS:-true}" || [ "$TMPFS" -le 0 ]; then
+	if is_no "${TMPFS:-true}" || [ "$TMPFS" = "0" ]; then
 		return
 	fi
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/8e5e409e7a64a9757b2202647d0f7ec8ac2854c4



More information about the pld-cvs-commit mailing list