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
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ astyleit() {
modified=$1.unify_includes_modified
cp "$1" "$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"
}

Expand Down

0 comments on commit ec0be3c

Please sign in to comment.