diff options
Diffstat (limited to 'test/fts.awk')
-rw-r--r-- | test/fts.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fts.awk b/test/fts.awk index d2e55cab..70af560f 100644 --- a/test/fts.awk +++ b/test/fts.awk @@ -114,6 +114,13 @@ function process(pathname, data_array, for (i in stat_data) data_array[pathname]["."]["stat"][i] = stat_data[i] + os = "" + if (ENVIRON["AWKLIBPATH"] == "sys$disk:[-]") { + os = "VMS" + # Command in next section not valid on VMS. + return + } + command = ("ls -f " pathname) while ((command | getline direntry) > 0) { if (direntry == "." || direntry == "..") |