mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 19:47:31 +00:00
Fix R2PM_SVN
This commit is contained in:
parent
2df8e6f340
commit
d62caa8fb1
@ -234,14 +234,12 @@ R2PM_SVN() {
|
||||
DIR="$2"
|
||||
fi
|
||||
cd "${R2PM_GITDIR}" || exit 1
|
||||
if [ ${IS_LOCAL} = 0 ]; then
|
||||
if [ -d "${DIR}" ]; then
|
||||
cd "${DIR}"
|
||||
svn up
|
||||
else
|
||||
svn co "${URL}" "${DIR}"
|
||||
cd "${DIR}" || R2PM_FAIL "Oops"
|
||||
fi
|
||||
if [ -d "${DIR}" ]; then
|
||||
cd "${DIR}"
|
||||
svn up
|
||||
else
|
||||
svn co "${URL}" "${DIR}"
|
||||
cd "${DIR}" || R2PM_FAIL "Oops"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user