Skip to content

Commit

Permalink
Fix shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Jan 24, 2014
1 parent 32aa63a commit d2e4dc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cppcheck.bash
Expand Up @@ -2,4 +2,4 @@
#
# Run cppcheck on the source code.

cppcheck --enable=style,performance,portability --std=posix *.cpp
cppcheck --enable=style,performance,portability --std=posix ./*.cpp
3 changes: 2 additions & 1 deletion test/run_tests.bash
Expand Up @@ -19,7 +19,8 @@ EOF
}

# Change to test directory
cd "$(dirname $0)"
script_directory=$(dirname "$0")
cd "$script_directory"

if [ -f '../build/perceptualdiff' ]
then
Expand Down

0 comments on commit d2e4dc3

Please sign in to comment.