diff options
Diffstat (limited to 'src/build/tools/pre-commit')
-rwxr-xr-x | src/build/tools/pre-commit | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/build/tools/pre-commit b/src/build/tools/pre-commit index 121f286c8..3dc621bb3 100755 --- a/src/build/tools/pre-commit +++ b/src/build/tools/pre-commit @@ -6,7 +6,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2011,2016 +# Contributors Listed Below - COPYRIGHT 2011,2017 # [+] International Business Machines Corp. # # @@ -30,6 +30,8 @@ if [ -f $TOOLSDIR/pre-commit-actions ]; then elif [ -f $TOOLSDIR/pre-commit-prologs ]; then $TOOLSDIR/pre-commit-prologs else - echo "Missing pre-commit files" + echo Error: environment not setup properly... + echo "Run 'source env.bash' or './hb workon' based on your current environment" + echo "For more info run './hb --help'" exit -1 fi |