diff options
-rwxr-xr-x | dagpkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ trap 'trap_exit "Aborted by user! Exiting..."' INT trap 'trap_exit "An unknown error has occurred. Exiting..."' ERR # Source this PKGBUILD, if it doesn't exist, exit -if ! source PKGBUILD &>/dev/null ; then +if ! source ./PKGBUILD &>/dev/null ; then error "No PKGBUILD in %s" "$PWD" exit 1 fi @@ -66,7 +66,7 @@ depth="${2:-0}" let next=${depth}+1 || true # A temporary work dir and log file -temp_dir="${1:-$(mktemp -d /tmp/${name}-testpkg-XXXX)}" +temp_dir="${1:-$(mktemp -dt ${name}-testpkg-XXXX)}" log="${temp_dir}/buildorder" # Generate the full version with epoch |