windres: Minor cleanups
Make indentation consistent, define a variable used in printing errors, remove an unused helper function.
This commit is contained in:
1 parent
03b99b5144
commit
b1b6c0ba6f
1 file changed
+1
-4
@@ -78,10 +78,6 @@ error() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
quote() {
|
||||
echo "$1" | sed -e "s|'|'\\\\''|g; 1s/^/'/; \$s/\$/'/"
|
||||
}
|
||||
|
||||
INCLUDE=
|
||||
VERBOSE=${VERBOSE:-false}
|
||||
INPUT=-
|
||||
@@ -91,6 +87,7 @@ OUTPUT_FORMAT=coff
|
||||
CODEPAGE=1252
|
||||
CPP_OPTIONS=
|
||||
TARGET="$(basename $0 | sed 's/-[^-]*$//')"
|
||||
PROG="$(basename $0)"
|
||||
|
||||
while [ $# != 0 ]; do
|
||||
case "$1" in
|
||||
|
||||
Reference in new issue
Block a user