Remove absolute paths from /usr/bin/xxd and /bin/dd

This commit is contained in:
Curtis Gedak 2009-05-14 14:45:11 -06:00
parent 51969b33e8
commit 9238e47bc2
1 changed files with 1 additions and 1 deletions

View File

@ -2586,7 +2586,7 @@ bool GParted_Core::update_bootsector( const Partition & partition, OperationDeta
Glib::ustring output, error, command ;
command =
"echo " + reversed_hex + " | /usr/bin/xxd -r -p | /bin/dd conv=notrunc of=" + partition .get_path() + " bs=1 seek=28" ;
"echo " + reversed_hex + " | xxd -r -p | dd conv=notrunc of=" + partition .get_path() + " bs=1 seek=28" ;
operationdetail .get_last_child() .add_child( OperationDetail( command, STATUS_NONE, FONT_BOLD_ITALIC ) ) ;
bool succes = ! Utils::execute_command( command, output, error ) ;