Fix conditionals for $build_wrksrc.
--HG-- extra : convert_revision : c85c8bed3cf76b909ae08b40bb73e9585e9656dc
This commit is contained in:
@@ -44,7 +44,9 @@ build_src_phase()
|
||||
[ ! -d $wrksrc ] && msg_error "unexistent build directory [$wrksrc]"
|
||||
|
||||
cd $wrksrc || return 1
|
||||
[ -n "$build_wrksrc" ] && cd $build_wrksrc || return 1
|
||||
if [ -n "$build_wrksrc" ]; then
|
||||
cd $build_wrksrc || return 1
|
||||
fi
|
||||
|
||||
[ -n "$revision" ] && pkg="${pkg}_${revision}"
|
||||
|
||||
|
Reference in New Issue
Block a user