[DRE-commits] [rails] 03/16: debian/tests/newapp: small improvements for running by hand
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Aug 3 03:53:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository rails.
commit 34d988d1d1b0aef87b35dabb2109aab3ce75e68b
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Jul 27 10:40:16 2014 -0300
debian/tests/newapp: small improvements for running by hand
---
debian/tests/newapp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/tests/newapp b/debian/tests/newapp
index 6839c31..bdbb697 100755
--- a/debian/tests/newapp
+++ b/debian/tests/newapp
@@ -7,6 +7,9 @@ exec 2>&1
ruby -v
gem list
+if [ -z "$ADTTMP" ]; then
+ ADTTMP=$(mktemp -d)
+fi
cd $ADTTMP
rails new foo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rails.git
More information about the Pkg-ruby-extras-commits
mailing list