commit | 09f2182548ff7d4d0ac189398cecde223dfbc6c4 | [log] [tgz] |
---|---|---|
author | Jake Biesinger <jake.biesinger@gmail.com> | Mon Dec 02 18:05:44 2013 -0800 |
committer | Jake Biesinger <jake.biesinger@gmail.com> | Mon Dec 02 18:05:44 2013 -0800 |
tree | fd13c9a59c98dd1e2ad2b26699c8025f8328d93a | |
parent | 0b5368ca834638ea089e9ce9b0af4d44f3e89b5b [diff] |
compatibility for for bash versions <4.0
diff --git a/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh b/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh index 74b3e29..41026a6 100644 --- a/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh +++ b/pregelix/pregelix-dist/src/main/resources/scripts/startcc.sh
@@ -95,4 +95,4 @@ printf "\n\n\n********************************************\nStarting CC with command %s\n\n" "${cmd[*]}" >> "$CCLOGS_DIR/cc.log" #Start the pregelix CC -${cmd[@]} &>> "$CCLOGS_DIR/cc.log" & +${cmd[@]} >> "$CCLOGS_DIR/cc.log" 2>&1 &
diff --git a/pregelix/pregelix-dist/src/main/resources/scripts/startnc.sh b/pregelix/pregelix-dist/src/main/resources/scripts/startnc.sh index da087ed..8e742ea 100644 --- a/pregelix/pregelix-dist/src/main/resources/scripts/startnc.sh +++ b/pregelix/pregelix-dist/src/main/resources/scripts/startnc.sh
@@ -97,4 +97,4 @@ -node-id $NODEID -iodevices "${IO_DIRS}" ); printf "\n\n\n********************************************\nStarting NC with command %s\n\n" "${cmd[*]}" >> "$NCLOGS_DIR/$NODEID.log" -${cmd[@]} &>> "$NCLOGS_DIR/$NODEID.log" & +${cmd[@]} >> "$NCLOGS_DIR/$NODEID.log" 2>&1 &