diff --git a/repository/Fossil/FossilRepo.class.st b/repository/Fossil/FossilRepo.class.st index fc0998c..14c0130 100644 --- a/repository/Fossil/FossilRepo.class.st +++ b/repository/Fossil/FossilRepo.class.st @@ -39,7 +39,8 @@ FossilRepo class >> locateExecutable [ command: 'which'; arguments: #('fossil') ; redirectStdout; - runAndWaitOnExitDo: [ :process :outString | ^ outString ] + runAndWaitOnExitDo: [ :process :outString | + ^ outString allButLast ] ] { #category : #operation } @@ -49,8 +50,8 @@ FossilRepo >> add: fileRelativePath [ OSSUnixSubprocess new command: self class locateExecutable; - arguments: { 'add' . fileRelativePath }; workingDirectory: self localFolderName; + arguments: { 'add' . fileRelativePath }; redirectStdout; runAndWaitOnExitDo: [ :process :outString | ^ outString ] ]