summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 14:37:31 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 14:41:06 -0500
commit1332457128ce015dc46561e531740c725c23299e (patch)
tree573f2912bee5a4da188836bbb7c458954a749c9e
parentd53c7ad69c8f52513ee6c2f82b07af9b486c6d85 (diff)
* fullpkg clean $_fullpkgargs and $force_array when use them
-rwxr-xr-xfullpkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/fullpkg b/fullpkg
index 911a11c..d5c7468 100755
--- a/fullpkg
+++ b/fullpkg
@@ -216,6 +216,8 @@ for _dep in ${deps[@]}; do
fi
else
_fullpkgargs+="-f "
+ _fullpkgargs="$(echo $_fullpkgargs | sed s/"-R $_dep "//)"
+ force_array=( $(echo ${forcearray[@]} | tr " " "\n" | grep -vw "^$_dep") )
fi
cp -r "$ABSROOT/$_repo/$_dep" $tmp_dir/ || {