aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-01-12 14:11:54 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-01-12 14:11:54 +0000
commit06755a33d81388f87f82e3902bc564440b09c04c (patch)
treef39d5e7bfb113b6753fc0e4df7653a871a6b30ea /src
parentcdebd9b9135fdd9079245d7e270e13d8ec8050ee (diff)
downloadsimplepkg-06755a33d81388f87f82e3902bc564440b09c04c.tar.gz
simplepkg-06755a33d81388f87f82e3902bc564440b09c04c.tar.bz2
simplaret: small fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@94 04377dda-e619-0410-9926-eae83683ac58
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