~isantop/kernelstub/trunk-1

« back to all changes in this revision

Viewing changes to kernelstub.py

  • Committer: Ian Santopietro
  • Date: 2017-03-24 19:52:20 UTC
  • Revision ID: isantop@gmail.com-20170324195220-uyjc2hyl8rcm8lup
Fixed issue where extra space was added while searching for file paths

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    return run_command(command, sim)
153
153
 
154
154
def get_file_path(path, search): # Get path to file string, for copying stuff
155
 
    command = "ls " + path + " " + search + "* | tail -1"
 
155
    command = "ls " + path + search + "* | tail -1"
156
156
    return run_command(command, False)
157
157
 
158
158
def copy_files(src, dest, simulate): # Copy file src into dest