summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-10-06 00:03:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:05 +0200
commitaa4db02702313cf277b2c56b51ea9eb916de9468 (patch)
treeb25fdcca6e6fbd116e678c76cd9fd7c032e2d19d /db-functions
parente4e9960d734c8cbe5630454701f0289e0ed68d07 (diff)
downloaddbscripts-aa4db02702313cf277b2c56b51ea9eb916de9468.tar.gz
dbscripts-aa4db02702313cf277b2c56b51ea9eb916de9468.tar.xz
make test.d/create-filelists.sh pass
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions7
1 files changed, 4 insertions, 3 deletions
diff --git a/db-functions b/db-functions
index 6bd3b5d..8e239f1 100644
--- a/db-functions
+++ b/db-functions
@@ -26,8 +26,8 @@ mv_acl() {
if [[ $USER != $DBSCRIPTS_USER ]]; then
exec sudo -H -u $DBSCRIPTS_USER "$0" "$@"
-else
- cd "$TMPDIR"
+#else
+ #cd "$TMPDIR"
fi
# set up general environment
@@ -626,9 +626,10 @@ get_file_from_pkgrepo() {
# TODO: implement svn/git extraction
# for git: cd $whereever; git show $tag:$filename
- curl -s https://projects.archlinux.org/svntogit/community.git/plain/trunk/$filename?h=packages/$pkgbase
+ #curl -s https://projects.archlinux.org/svntogit/community.git/plain/trunk/$filename?h=packages/$pkgbase
# TODO: this requires us to restructure the repos
#arch_svn cat "${SVNREPO}/${_pkgbase}/tags/$tag/$filename"
+ arch_svn cat "${SVNREPO}/${_pkgbase}/trunk/$filename"
}
arch_svn() {