Skip to content

Commit

Permalink
Merge pull request #54 from dgarske/fix_commit
Browse files Browse the repository at this point in the history
Fix for pre-commit.sh script used for git commits.
  • Loading branch information
JacobBarthelmeh authored Apr 3, 2018
2 parents dd8bace + 592e40d commit fa607e6
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 fa607e6

Please sign in to comment.