Commit e2aad571 authored by mara's avatar mara

when copying we skip the working directory

parent 27a128f7
......@@ -34,7 +34,7 @@ prepare_work_dir() {
# if new packages copy all
if [[ -e ${_BUILD}/$1/.new ]]; then
cp -a ${_BUILD}/$1/* ${_BUILD}/$1/${_WORK_DIR}/
cp -a $(ls | ${_BUILD}/$1/ | grep -vP '^work$' ${_BUILD}/$1/${_WORK_DIR}/
return 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment