[BL training-materials-updates] gen-lab-archive: improve error reporting

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Apr 26 15:55:21 CEST 2018


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=c9a328863430d9faafb5545699fdc03652c19ffc

>---------------------------------------------------------------

commit c9a328863430d9faafb5545699fdc03652c19ffc
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Thu Apr 26 15:55:21 2018 +0200

    gen-lab-archive: improve error reporting
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

c9a328863430d9faafb5545699fdc03652c19ffc
 gen-lab-archive | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen-lab-archive b/gen-lab-archive
index a21cd4a..468517c 100755
--- a/gen-lab-archive
+++ b/gen-lab-archive
@@ -26,7 +26,7 @@ if [ -z $1 ]; then
 fi
 
 if ! ls lab-data | grep -q $1; then
-    $ECHO "ERROR: not a valid training name"
+    $ECHO "ERROR: not a valid training name: $1"
     exit 1
 fi
 




More information about the training-materials-updates mailing list