diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-13 21:47:05 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-13 21:47:05 -0500 |
commit | 51c9918206763265d2df42050e241f7f12f1b9df (patch) | |
tree | b16d4f260f1be86691e861642de7619b62132092 | |
parent | e4b46b5534ff31194bd960c5541c6f3cb7f1baf5 (diff) |
use mv -f for $files.2
-rwxr-xr-x | fullpkg | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -81,7 +81,7 @@ remove_queue() { get_queue grep -Evw "^$(basename $PWD)" ${queue_file} > ${queue_file}2 - mv ${queue_file}2 ${queue_file} + mv -f ${queue_file}2 ${queue_file} put_queue && return 0 || return $? } @@ -111,7 +111,7 @@ check_queue() { # $2 buildorder file remove_buildorder() { grep -Evw "${1}" ${2} > ${2}2 - mv ${2}2 ${2} + mv -f ${2}2 ${2} } # Guesses the repo name according to the parent dir of the current package @@ -452,7 +452,7 @@ find_deps || { egrep -w "$search" ${buildorder} >> ${build_dir}/banned # Take banned packages out from buildorder egrep -vw "$search" ${buildorder} > ${buildorder}2 - mv ${buildorder}2 ${buildorder} + mv -f ${buildorder}2 ${buildorder} unset search } } |