summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-11-26 14:13:27 +0000
committerRichard Jones <rjones@redhat.com>2009-11-26 14:13:55 +0000
commita86eb0e0d2c67e2153139c681632edc72162b8ed (patch)
tree981f27b7786dd7ceb49ce43ad37c91d7dd525918 /src
parent6699491803962a5dee13997f1cc98f119d7101f4 (diff)
downloadlibguestfs-a86eb0e0d2c67e2153139c681632edc72162b8ed.tar.gz
libguestfs-a86eb0e0d2c67e2153139c681632edc72162b8ed.tar.xz
libguestfs-a86eb0e0d2c67e2153139c681632edc72162b8ed.zip
Make realpath call optional, disable it for Windows.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 74ff3a82..9e602acd 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -3266,7 +3266,7 @@ matching lines.");
This calls the external C<zfgrep -i> program and returns the
matching lines.");
- ("realpath", (RString "rpath", [Pathname "path"]), 163, [],
+ ("realpath", (RString "rpath", [Pathname "path"]), 163, [Optional "realpath"],
[InitISOFS, Always, TestOutput (
[["realpath"; "/../directory"]], "/directory")],
"canonicalized absolute pathname",