diff options
Diffstat (limited to 'apkg')
| -rwxr-xr-x | apkg | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -865,7 +865,8 @@ APKG_REPO="$PWD" APKG_PACKAGE_DIR="$PWD" APKG_SOURCE_DIR="$PWD" APKG_WORK_DIR="$PWD" -log_file="$APKG_WORK_DIR"/"$(basename "$0")_$(date +"%Y%m%d_%T")".log +[!APKG_LOG_DIR] && APK_LOG_DIR="/var/log" +log_file="$APKG_LOG_DIR"/"$(basename "$0")_$(date +"%Y%m%d_%T")".log # source config if [ -f $APKG_CONF ]; then |