fazbear201 / winezeug

Automatically exported from code.google.com/p/winezeug
1 stars 0 forks source link

Installation of packages which contain files with spaces - doesn't work. #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. bash winetricks firefox

What is the expected output? What do you see instead?

Expected - it would install. But now it just:

winetricks: line 503: $file: ambiguous redirect
------------------------------------------------------
sha1sum mismatch!  Rename /home/depesz/.winetrickscache/./Firefox Setup 
3.6.6.exe and try again.
------------------------------------------------------

What version of the product are you using? On what operating system?

Linux, Ubuntu 10.4

Please provide any additional information below.

Fix for it is trivial. In winetricks script there is this line:

    gotsum=`$SHA1SUM < $file | sed 's/ .*//'`

it should be changed to:

    gotsum=`$SHA1SUM < "$file" | sed 's/ .*//'`

Original issue reported on code.google.com by dep...@gmail.com on 18 Aug 2010 at 9:37

GoogleCodeExporter commented 8 years ago
Committed, thanks.

Original comment by austinenglish@gmail.com on 18 Aug 2010 at 9:42