diff options
author | Martino Pilia | 2018-10-18 09:54:27 +0200 |
---|---|---|
committer | Martino Pilia | 2018-10-18 09:54:27 +0200 |
commit | 7e83649de6b83ff4e8a368724211bc1dfc86ddfd (patch) | |
tree | 8432ab9643f4e79e34485756a50c898ec9ca8168 | |
parent | 6b68a68e2e3e459b1ce86ccff2652b612f52a524 (diff) | |
download | aur-7e83649de6b83ff4e8a368724211bc1dfc86ddfd.tar.gz |
Format error messages
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,12 +24,12 @@ prepare() { # ensure that the required ITK modules are present if [ `ls "/usr/include/$_itk" | grep 'itkMINCImageIO.h'` == "" ]; then - echo "ERROR: ITK must be built with -DModule_ITKIOMINC:BOOL=ON" + error "ITK must be built with -DModule_ITKIOMINC:BOOL=ON" exit 1 fi if [ `ls "/usr/include/$_itk" | grep 'itkMINCTransformAdapter.h'` == "" ]; then - echo "ERROR: ITK must be built with -DModule_ITKIOTransformMINC:BOOL=ON" + error "ITK must be built with -DModule_ITKIOTransformMINC:BOOL=ON" exit 1 fi |