Changeset 484

Show
Ignore:
Timestamp:
05/27/08 08:31:09 (8 months ago)
Author:
pebenito
Message:

use absolute paths.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/trunk-pmd-intproto/common/file_util.py

    r436 r484  
    44def checksum(path): 
    55        path = os.path.realpath(os.path.expanduser(path)) 
    6         proc = subprocess.Popen(['md5sum', path], stdout=subprocess.PIPE) 
     6        proc = subprocess.Popen(['/usr/bin/md5sum', path], stdout=subprocess.PIPE) 
    77        proc.wait() 
    88        sum = proc.stdout.read().split()[0] 
  • branches/trunk-pmd-intproto/server/master.py

    r470 r484  
    2222           to send.  dest_path is the location on the remote server for the file.''' 
    2323        for (filename, basename) in file_list: 
    24                 cmd = "scp " + filename + " " + host + ":" + os.path.join(dest_path, basename) 
     24                cmd = "/usr/bin/scp " + filename + " " + host + ":" + os.path.join(dest_path, basename) 
    2525                os.system(cmd) 
    2626 
     
    309309                for file in update_list: 
    310310                        n.set_file_status(storage.get_local_name(file), storage.get_layer(file), storage.get_timestamp(file)) 
    311                         proc = subprocess.Popen(['md5sum', file], stdout=subprocess.PIPE) 
     311                        proc = subprocess.Popen(['/usr/bin/md5sum', file], stdout=subprocess.PIPE) 
    312312                        proc.wait() 
    313313                        sum = proc.stdout.read().split()[0]