From 7ad15d67332ca37d2e77bfd1c5a7ada0bb224d56 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 17 Feb 2011 15:35:56 +0100 Subject: [PATCH] update hackers readme Signed-off-by: Nico Schottelius --- HACKERS_README | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/HACKERS_README b/HACKERS_README index 7d6aafdf..6f27335a 100755 --- a/HACKERS_README +++ b/HACKERS_README @@ -18,7 +18,8 @@ The following code will get executed if you run this README: eof # Tell the user what we do, so this script makes sense during execution -set -x +# And abort on any error +set -ex # prepare use (only from top level directory) export PATH="$PATH:$(pwd -P)/bin" @@ -50,8 +51,11 @@ find "$explorer_tmp" # Generate code for all objects in object dir cdist-object-codegen-all localhost "$object_tmp" "$exec_tmp" -# Display result -find "$exec_tmp" +# Display result, including permissions +ls -lR "$exec_tmp" # Transfer generated code cdist-exec-transfer localhost "$exec_tmp" + +# Execute generated code +cdist-exec-run localhost