From: Luis R. Rodriguez Date: Fri, 6 Jul 2012 19:15:07 +0000 (-0700) Subject: compat: fix ckmake -t return file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dca8b51336c2527c1cdf5065339fc72e37bd7da8;p=openwrt%2Fstaging%2Fblogic.git compat: fix ckmake -t return file Skip removing the return file early given that we are running twice. The ret-tmp.txt will now exist on if ckmake is run without -t but I can't currently figure out how to properly fix this. I welcome a proper fix. Signed-off-by: Luis R. Rodriguez --- diff --git a/bin/ckmake b/bin/ckmake index da4ce8c917df..5468b7af14a8 100755 --- a/bin/ckmake +++ b/bin/ckmake @@ -144,7 +144,6 @@ if [[ $TIME != "1" ]]; then rm -f $LOG_TMP RET=$(cat $RET_FILE) - rm -f $RET_FILE exit $RET fi