Skip to content

Commit

Permalink
Don't change date when dos2unix'ing files
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and 3nids committed Sep 11, 2015
1 parent 62c0ef9 commit 26e9783
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/astyle.sh
Expand Up @@ -29,16 +29,16 @@ if [ -z "$ASTYLE" ]; then
fi

if ! type -p flip >/dev/null; then
if type -p dos2unix >/dev/null; then
flip() {
dos2unix $2
}
else
echo "flip not found" >&2
flip() {
:
}
fi
if type -p dos2unix >/dev/null; then
flip() {
dos2unix -k $2
}
else
echo "flip not found" >&2
flip() {
:
}
fi
fi

if ! type -p autopep8 >/dev/null; then
Expand Down

0 comments on commit 26e9783

Please sign in to comment.