Skip to content

Commit

Permalink
don't cd after activating
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Jun 30, 2016
1 parent 269235c commit e323439
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easy-deploy-broad/easy-deploy-viral-ngs-broad.sh
Expand Up @@ -161,7 +161,8 @@ function activate_environment(){

echo "$SCRIPTPATH/$CONTAINING_DIR"
if [ -d "$SCRIPTPATH/$CONTAINING_DIR" ]; then
cd $SCRIPTPATH/$CONTAINING_DIR
cd $SCRIPTPATH
echo "Activating environment"
else
echo "viral-ngs parent directory not found: $CONTAINING_DIR not found."
echo "Have you run the setup?"
Expand Down

0 comments on commit e323439

Please sign in to comment.