summaryrefslogtreecommitdiffstats
path: root/easy_e17.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-10-20 15:09:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-10-20 15:09:30 +0200
commitc6c30829548ac84f92f5fcc7e18555b3c1a419a3 (patch)
tree141c5b992f90c0e524aad6e4c6a745c1f3cc0967 /easy_e17.sh
parent20e6091627e618d2a3671a25841e78721506312c (diff)
downloadbin-c6c30829548ac84f92f5fcc7e18555b3c1a419a3.zip
bin-c6c30829548ac84f92f5fcc7e18555b3c1a419a3.tar.gz
easy_e17.sh: cosmetics
Diffstat (limited to 'easy_e17.sh')
-rwxr-xr-xeasy_e17.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/easy_e17.sh b/easy_e17.sh
index 8e54935..304c4db 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -673,7 +673,7 @@ function backoff_loop
attempt=1
max_attempt=5
while [ 1 ]; do
- $src_cmd | tee -a "$tmp_path/source_update.log"
+ $src_cmd >> "$tmp_path/source_update.log"
if [ "${PIPESTATUS[0]}" -gt 0 ]; then
attempt=$(($attempt + 1))
set_title "Source update failed, trying again in $backoff seconds..."
@@ -812,7 +812,7 @@ function git_fetch ()
git status -s | grep -e '^??' | cut -d " " -f 2 | xargs rm 2>/dev/null
SHA_PREV=$(git log --pretty="format:%H" HEAD~1..)
echo "- pull from `git remote -v | grep origin | grep fetch | cut -f 2 |cut -d " " -f 1`"
- git pull --no-stat 2>&1 | tee "$tmp_path/pull_error.log"
+ git pull --no-stat 2>&1 >> "$tmp_path/pull_error.log"
if [ $(cat "$tmp_path/pull_error.log" | grep $'^\t' | wc -l) -gt 0 ]; then
echo "- checkout pull blocking files"
cat "$tmp_path/pull_error.log" | grep $'^\t' | while read file; do git checkout "$file"; done
@@ -1016,7 +1016,7 @@ function compile ()
cd "$path"
rm -f $status_path/$name.noerrors
rm -f "$logs_path/$name.log"
- run_command "$name" "$path" "path" "path : " "$mode" "pwd"
+ run_command "$name" "$path" "path" "path: " "$mode" "pwd"
# get package arguments
package_clean=$clean
package_make_only=$make_only
@@ -1085,7 +1085,7 @@ function compile ()
if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi
run_command "$name" "NOT USED" "build" "build : " "$mode" "$make -j $threads"
if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi
- run_command "$name" "NOT USED" "install" "install : " "rootonly" "$make install"
+ run_command "$name" "NOT USED" "install" "install: " "rootonly" "$make install"
if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi
cd ..
elif [ -e "autogen.sh" ]; then