Fix build-pkgs clean cmd doesn't work
Story: 2003680 Task: 26204 It is due to $DIR doesn't exist, and cause clean cmd fail and exit. $DIR has be renamed to $BUILD_PKGS_PARALLEL_DIR. Remove the obsolete line. Change-Id: I1b6f55fc7d08ab58cdf89ed81b5eef4ea0de7199 Signed-off-by: slin14 <shuicheng.lin@intel.com>
This commit is contained in:
parent
b913f3ec37
commit
d05c4c3d31
@ -253,8 +253,6 @@ if [ $CLEAN_FLAG -eq 1 ]; then
|
||||
if [ $STD_BUILD -eq 1 ]; then
|
||||
if [ "x$TARGETS" == "x " ] || [ "$TARGETS_STD" != " " ] || [ "$TARGETS_MISC" != " " ]; then
|
||||
if [ $EDIT_FLAG -ne 1 ]; then
|
||||
echo "$DIR/build-rpms-parallel --std --clean $EXTRA_ARGS_COMMON $EXTRA_ARGS_RPM $TARGETS_STD $TARGETS_MISC"
|
||||
$DIR/build-rpms-parallel --std --clean $EXTRA_ARGS_COMMON $EXTRA_ARGS_RPM $TARGETS_STD $TARGETS_MISC || exit 1
|
||||
echo "${BUILD_PKGS_PARALLEL_DIR}/build-rpms-parallel --std --clean $EXTRA_ARGS_COMMON $EXTRA_ARGS_RPM $TARGETS_STD $TARGETS_MISC"
|
||||
${BUILD_PKGS_PARALLEL_DIR}/build-rpms-parallel --std --clean $EXTRA_ARGS_COMMON $EXTRA_ARGS_RPM $TARGETS_STD $TARGETS_MISC || exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user