[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.7.3-9-gd1e71ad
Modestas Vainius
modax at alioth.debian.org
Fri May 14 13:27:12 UTC 2010
The following commit has been merged in the master branch:
commit 83364027a4f2dfd3e2587dd4195d74c50760cbc8
Author: Modestas Vainius <modestas at vainius.eu>
Date: Fri May 14 15:07:30 2010 +0300
Add run-local wrapper.
It can be used for easy execution of scripts directly from the source package.
---
debian/changelog | 2 ++
run-local | 12 ++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index bfa9817..4068b44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pkg-kde-tools (0.7.4~pre1) UNRELEASED; urgency=low
* pkgkde-symbolshelper: disable symbol file backups by default.
* pkgkde-symbolshelper: do not bump symbol minimum version when the only
change made is detection of substs in the original symbol.
+ * Add run-local wrapper for easy execution of scripts directly from the
+ source package.
-- Modestas Vainius <modax at debian.org> Tue, 04 May 2010 11:09:03 +0300
diff --git a/run-local b/run-local
new file mode 100755
index 0000000..c2c63d3
--- /dev/null
+++ b/run-local
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Set up environment for running scripts straight from the source package
+
+loc="`dirname $0`"
+loc="`readlink -e "$loc"`"
+
+export PERL5LIB="$loc/perllib:$lib/datalib:$PERL5LIB"
+export PATH="$loc:$PATH"
+
+# Execute requested script
+exec "$@"
--
Debian Qt/KDE packaging tools
More information about the pkg-kde-commits
mailing list