diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-09 17:16:57 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-09 17:16:57 +0000 |
commit | 66b87a88dcbcf0a2a93e81bcb0ad035fd26bab14 (patch) | |
tree | 1de5f113f677a0152b621a2b8d9c3cd7473d9905 /src | |
parent | 877edc04cd94840048d3329d0dd007f2268f9a7f (diff) | |
download | simplepkg-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')
-rwxr-xr-x | src/simplaret | 2 |
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 |