aboutsummaryrefslogtreecommitdiff
path: root/src/simplaret
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 17:16:57 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 17:16:57 +0000
commit66b87a88dcbcf0a2a93e81bcb0ad035fd26bab14 (patch)
tree1de5f113f677a0152b621a2b8d9c3cd7473d9905 /src/simplaret
parent877edc04cd94840048d3329d0dd007f2268f9a7f (diff)
downloadsimplepkg-66b87a88dcbcf0a2a93e81bcb0ad035fd26bab14.tar.gz
simplepkg-66b87a88dcbcf0a2a93e81bcb0ad035fd26bab14.tar.bz2
simplaret: simplaret_get fix :)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@57 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src/simplaret')
-rwxr-xr-xsrc/simplaret2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplaret b/src/simplaret
index 11b1641..cfd02f5 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -359,7 +359,7 @@ function simplaret_get {
candidate="`basename $file`"
if [ "`package_name $candidate`" == "$1" ]; then
# check if has the same version and build number, otherwise erase the old one
- for result in `simplaret_search $candidate -basename-only`; do
+ for result in `simplaret_search $(package_name $candidate) -basename-only`; do
if [ "`package_name $candidate`" == "`package_name $result`" ] && \
[ "`package_version $candidate`" == "`package_version $result`" ] && \
[ "`package_build $candidate`" == "`package_build $result`" ]; then