[Lunar-commits] <lunar> automatically enter $SOURCE_DIRECTORY after default_pre_build
Michael 'v4hn' Goerner
v4hn at lunar-linux.org
Sun Jun 2 19:13:24 CEST 2013
commit 558321a09ac6279c4b101b0202d1920a6e485693
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date: Sat, 01 Jun 2013 15:16:47 -0700
URL: https://github.com/lunar-linux/lunar/commit/558321a09ac6279c4b101b0202d1920a6e485693
automatically enter $SOURCE_DIRECTORY after default_pre_build
It is annoying to manually do this cd in _every_ PRE_BUILD file
---
libs/build.lunar | +2/-1
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/libs/build.lunar
+++ b/libs/build.lunar
@@ -142,7 +142,8 @@ default_pre_build() {
fi
else
mk_source_dir $SOURCE_DIRECTORY &&
- unpack $SOURCE
+ unpack $SOURCE &&
+ cd $SOURCE_DIRECTORY
fi
}
More information about the Lunar-commits
mailing list