From ba42ef586d9333b2ff4702b57d08cb9a56ff88be Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 12 Sep 2009 12:05:25 +0200 Subject: ct: vcs_setup: Die if the cd fails --- bin/ct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ct b/bin/ct index 4071b73..aa6bb0d 100755 --- a/bin/ct +++ b/bin/ct @@ -270,7 +270,7 @@ function vcs_push ( ) function vcs_setup { - cd $PKG_DIR/$1 + cd $PKG_DIR/$1 || die "vcs_setup: Cannot cd $PKG_DIR/$1" } function vcs_status ( -- cgit v1.2.3