Skip to content

Commit

Permalink
Fix use of wrong variable in astyleit(), introduced in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 19, 2016
1 parent 3f330aa commit ec0be3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/astyle.sh
Expand Up @@ -59,7 +59,7 @@ astyleit() {
modified=$1.unify_includes_modified modified=$1.unify_includes_modified
cp "$1" "$modified" cp "$1" "$modified"
scripts/unify_includes.pl "$modified" scripts/unify_includes.pl "$modified"
diff "$f" "$modified" >/dev/null || mv "$modified" "$1" diff "$1" "$modified" >/dev/null || mv "$modified" "$1"
rm -f "$modified" rm -f "$modified"
} }


Expand Down

0 comments on commit ec0be3c

Please sign in to comment.