[SCM] pkg-kde repository scripts branch, master, updated. fcab40bf2d33c941582fecbfe4131d424320ba02

Modestas Vainius modax at alioth.debian.org
Tue May 24 22:20:47 UTC 2011


The following commit has been merged in the master branch:
commit a75f54787766c292f284c0f756b9261ebc2d1547
Author: Modestas Vainius <modax at debian.org>
Date:   Tue May 24 22:01:56 2011 +0000

    Improve run-reprepro script.
    
    reprepro is a directory replicating a minimal system root.
---
 run-reprepro |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/run-reprepro b/run-reprepro
index 78e3dc4..010da4e 100755
--- a/run-reprepro
+++ b/run-reprepro
@@ -1,4 +1,9 @@
 #!/bin/sh
 
-REPO="`dirname "$0"`"
-exec "$REPO/../reprepro" -b "$REPO" "$@"
+repo="`dirname "$0"`"
+reprepro_root="`readlink -f "$repo/../reprepro"`"
+export PATH="$reprepro_root/usr/bin:$PATH"
+export LD_LIBRARY_PATH="$reprepro_root/usr/lib:$LD_LIBRARY_PATH"
+
+umask 002
+exec reprepro -b "$repo" "$@"

-- 
pkg-kde repository scripts



More information about the pkg-kde-commits mailing list