add comment to runxcmd about file expansion using glob

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-02-02 19:47:52 +00:00
parent 1cae57f314
commit 86a676d09f

View File

@ -987,6 +987,13 @@ sub runcmd
the entire command string xdsh runs needs to be a single entry
in the arg array.
The caller to the runxcmd is responsible for filename expansion, that
would have been done if the command was run on the command line.
For example, the xdcp node1 /tmp/testfile* /tmp command needs to
have the /tmp/testfile* argument expanded before call xdcp with
runxcmd. The easy way to do this is to use the perl glob function.
@files=glob "/tmp/testfile*";
=cut