diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-08 13:26:52 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-08 13:26:52 -0300 |
commit | e574f9574a984545d76ed05c361ba92deabe873b (patch) | |
tree | f722d9e1ad580b32fc6f3ff4470487ffa7cf13d2 | |
parent | 2d127aeaab734b41ba6387a9cf352f488d1ecd1f (diff) |
dagpkg: lukeshu's suggestions
-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 |