Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: Problems using the convert_png script
Home

[Freeciv-Dev] Re: Problems using the convert_png script

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel Markstedt <himasaram@xxxxxxxx>
Cc: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Problems using the convert_png script
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Mon, 17 Oct 2005 16:02:29 -0400

Daniel Markstedt wrote:
I'm trying to generate png flags, but running the convert_png script produce the error:

rm: illegal option -- 1
usage: rm [-f | -i] [-dPRrvW] file ...

Tried on OSX 10.3.9

How are you running it? Maybe it should use /bin/bash instead of /bin/sh (see line 0 of the script).

Flag file names shouldn't have spaces or begin with a dash or it will break the script (the former is fixable, the latter...not easily).

Run the program as
  ./convert_png wales.svg
  ./convert_png *.svg

-jason



[Prev in Thread] Current Thread [Next in Thread]