Skip to content

Commit

Permalink
automatically enter $SOURCE_DIRECTORY after default_pre_build
Browse files Browse the repository at this point in the history
It is annoying to manually do this cd in _every_ PRE_BUILD file
  • Loading branch information
Michael 'v4hn' Goerner committed Jun 1, 2013
1 parent 6fcc496 commit 558321a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/build.lunar
Expand Up @@ -142,7 +142,8 @@ default_pre_build() {
fi
else
mk_source_dir $SOURCE_DIRECTORY &&
unpack $SOURCE
unpack $SOURCE &&
cd $SOURCE_DIRECTORY
fi
}

Expand Down

0 comments on commit 558321a

Please sign in to comment.