aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/simplaret6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/simplaret b/src/simplaret
index 383a705..ad0d99e 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -433,7 +433,7 @@ function simplaret_get {
# save it on $PATCHES_DIR/root-$repository_name, so all patches
# are placed in the same tree
if [ "$repos_type" == "root" ] && echo $file | grep -q "patches"; then
- folder="$PATCHES_DIR/root-$repository_name"
+ folder="$PATCHES_DIR/$ARCH/$VERSION/root-$repository_name"
else
folder="$storage/$repository_name"
fi
@@ -540,8 +540,8 @@ function simplaret_get_jail_patches {
oldarch="$ARCH"
oldversion="$VERSION"
- VERSION="`default_version`"
- ARCH="`default_arch`"
+ VERSION="`default_version $root`"
+ ARCH="`default_arch $root`"
# we need to do that for each arch/version pairs
simplaret_update