[DRE-commits] [gem2deb] 02/03: run-from-checkout: expand basedir
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Jul 18 13:17:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gem2deb.
commit 789d32a0f876569493bbd5b82913791e50324ae9
Author: Antonio Terceiro <terceiro at debian.org>
Date: Mon Jul 10 07:44:08 2017 -0300
run-from-checkout: expand basedir
This makes improves support for running run-from-checkout using a
relative path (e.g. as ../../../run-from-checkout, called from one of
the sample packages at test/sample/*)
---
run-from-checkout | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run-from-checkout b/run-from-checkout
index ec877df..0ed8c1b 100755
--- a/run-from-checkout
+++ b/run-from-checkout
@@ -2,7 +2,7 @@
set -e
-basedir=$(dirname $0)
+basedir="$(readlink -f "$(dirname $0)")"
this_script=$(basename $0)
if [ $# -eq 0 ]; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list