andriy-gerasika / openid-selector

Automatically exported from code.google.com/p/openid-selector
1 stars 1 forks source link

generate-sprite.sh seems wrong #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use Mac OS X
1b. change #! in remcomments to /usr/bin/sed
2. edit openid-en.js so only google yahoo and myopenid are 'providers_large'
3. put "echo ${LARGECMD}" on line 62.

What is the expected output? What do you see instead?
I think it should say
images.large/google images.large/yahoo images.large/myopenid tile 3x1 -geometry 
100x60>+0+0 large.bmp

instead:
images.large/google : {.gif images.large/yahoo : {.gif images.large/myopenid : 
{.gif -tile 3x1 -geometry 100x60>+0+0 large.bmp

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

Please provide any additional information below.

Original issue reported on code.google.com by artgoldb...@gmail.com on 16 May 2011 at 10:24

GoogleCodeExporter commented 9 years ago
Same issue on Windows/Linux i think the issue is with line 16 var imagemagick = 
'C:/Program Files/ImageMagick-6.6.5-Q16/';

Original comment by bandonra...@gmail.com on 14 Jul 2011 at 6:48

GoogleCodeExporter commented 9 years ago
Has same issue on Ubuntu. Don't know enough about sed to fix it there, but 
fixed by placing a space between the javascript identifier and the colon. eg.
       |
//     v - do it like this
google : {
  name: 'Google',
  url: 'https://www.google.com/accounts/o8/id'
}
      |
      v - not like this
google: {
  name: 'Google',
  url: 'https://www.google.com/accounts/o8/id'
}

Original comment by dan.s.w...@gmail.com on 16 Aug 2011 at 1:43

GoogleCodeExporter commented 9 years ago
i am havin this issue too on a macosx machine. and it is definitely noto fixed 
by a space between the identifier and the colon. is there another tip?

Original comment by chris.or...@gmail.com on 18 Mar 2012 at 4:31

GoogleCodeExporter commented 9 years ago
Facing the same issue on mac. Tried to execute generate-sprite.sh it shows the 
following errors:

./generate-sprite.sh: line 70: montage: command not found
./generate-sprite.sh: line 71: montage: command not found
./generate-sprite.sh: line 72: convert: command not found
rm: small.bmp: No such file or directory
rm: large.bmp: No such file or directory

Original comment by newbillg...@gmail.com on 18 Dec 2012 at 7:19