Skip to content

Commit

Permalink
Fix for pre-commit.sh script used for git commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Feb 26, 2018
1 parent 63ab202 commit 592e40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# save current config
echo "\n\nSaving current config\n\n"
cp config.status tmp.status
cp wolfssl/options.h tmp.options.h
#cp wolfmqtt/options.h tmp.options.h

# stash modified files not part of this commit, don't test them
echo "\n\nStashing any modified files not part of commit\n\n"
Expand All @@ -26,7 +26,7 @@ echo "\nRestoring current config\n"
mv tmp.status config.status
# don't show output incase error from above
./config.status >/dev/null 2>&1
mv tmp.options.h wolfssl/options.h
#mv tmp.options.h wolfmqtt/options.h
make clean >/dev/null 2>&1
make -j 8 >/dev/null 2>&1

Expand Down

0 comments on commit 592e40d

Please sign in to comment.