# HG changeset patch
# User lecorguille
# Date 1556533547 14400
# Node ID a301f001835c43061ca3e2acfef7a46e1a9e6c46
# Parent  772290533d6e1c1d4fd8d0d8b1fe86c0d33fce9c
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit a5136bfc124956893f4f0c91808d1c0d78c4ea01

diff -r 772290533d6e -r a301f001835c lib.r
--- a/lib.r	Tue Apr 09 12:18:50 2019 -0400
+++ b/lib.r	Mon Apr 29 06:25:47 2019 -0400
@@ -333,7 +333,7 @@
     files[exists] <- sub("//","/",files[exists])
 
     # WHAT IS ON THE FILESYSTEM
-    filesystem_filepaths <- system(paste0("find \"$PWD/",directory,"\" -not -name '\\.*' -not -path '*conda-env*' -type f -name \"*\""), intern=T)
+    filesystem_filepaths <- system(paste0("find \"",getwd(),"/",directory,"\" -not -name '\\.*' -not -path '*conda-env*' -type f -name \"*\""), intern=T)
     filesystem_filepaths <- filesystem_filepaths[grep(filepattern, filesystem_filepaths, perl=T)]
 
     # COMPARISON