Changeset 0e23fdb


Ignore:
Timestamp:
Sep 17, 2007 6:45:08 PM (17 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
a835df7
Parents:
cd3eceb
Message:

Cover my sin of using a shell glob. /bin/csh treats this badly and an explicit
call to /bin/sh and some gross quoting is in order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/splitter.pl

    rcd3eceb r0e23fdb  
    155155    # Clear out any old experiment data; if not deleted, copies over it by
    156156    # different users will fail.
    157     &ssh_cmd($user, $host, "/bin/rm -rf $proj_dir/*") || return 0;
     157    # (O /bin/csh, how evil thou art.  The -c and the escaped single quotes
     158    # force the /bin/sh interpretation of the trailing * (which we need to keep
     159    # tmp around))  Again, this needs to be done more properly once we have a
     160    # non-ssh interface here.)
     161    &ssh_cmd($user, $host, "/bin/sh -c \\'/bin/rm -rf $proj_dir/*\\'") ||
     162        return 0;
    158163    # Remote experiment is active.  Modify it.
    159164    if ($state eq "active") {
Note: See TracChangeset for help on using the changeset viewer.