fix autocore for r1s
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
function merge_package(){
|
function merge_package(){
|
||||||
pn=`echo $1 | rev | cut -d'/' -f 1 | rev`
|
pn=`echo $1 | rev | cut -d'/' -f 1 | rev`
|
||||||
find package/ -follow -name $pn -not -path "package/custom/*" | xargs -rt rm -r
|
find package/ -follow -name $pn -not -path "package/custom/*" | xargs -rt rm -rf
|
||||||
if [ ! -z "$2" ]; then
|
if [ ! -z "$2" ]; then
|
||||||
find package/ -follow -name $2 -not -path "package/custom/*" | xargs -rt rm -r
|
find package/ -follow -name $2 -not -path "package/custom/*" | xargs -rt rm -rf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == *'/trunk/'* || $1 == *'/branches/'* ]]; then
|
if [[ $1 == *'/trunk/'* || $1 == *'/branches/'* ]]; then
|
||||||
@@ -14,7 +14,7 @@ function merge_package(){
|
|||||||
mv $pn package/custom/
|
mv $pn package/custom/
|
||||||
}
|
}
|
||||||
function drop_package(){
|
function drop_package(){
|
||||||
find package/ -follow -name $1 -not -path "package/custom/*" | xargs -rt rm -r
|
find package/ -follow -name $1 -not -path "package/custom/*" | xargs -rt rm -rf
|
||||||
}
|
}
|
||||||
function merge_feed(){
|
function merge_feed(){
|
||||||
if [ ! -d "feed/$1" ]; then
|
if [ ! -d "feed/$1" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user