update hackers readme

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-17 15:35:56 +01:00
parent 92dd32559a
commit 7ad15d6733
1 changed files with 7 additions and 3 deletions

View File

@ -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