summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 21:47:05 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 21:47:05 -0500
commit51c9918206763265d2df42050e241f7f12f1b9df (patch)
treeb16d4f260f1be86691e861642de7619b62132092
parente4b46b5534ff31194bd960c5541c6f3cb7f1baf5 (diff)
use mv -f for $files.2
-rwxr-xr-xfullpkg6
1 files changed, 3 insertions, 3 deletions
diff --git a/fullpkg b/fullpkg
index 88bbe15..55f9cdb 100755
--- a/fullpkg
+++ b/fullpkg
@@ -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
}
}