summaryrefslogtreecommitdiff
path: root/src/get.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/get.sh')
-rwxr-xr-xsrc/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/get.sh b/src/get.sh
index 0107897..75571ba 100755
--- a/src/get.sh
+++ b/src/get.sh
@@ -14,7 +14,7 @@ list_deps() {
# list all dependencies and sub dependencies of a package
#
resolve_deps () {
- local out="${CACHE_DIR}/deps"
+ local out="$1"; shift
local deps=""
local i=0
@@ -157,7 +157,7 @@ get () {
$DO_SYNC && sync
touch $out
- resolve_deps $@
+ resolve_deps $out $@
for package in $(cat $out); do
package_exists $package || {