diff options
-rwxr-xr-x | src/fullpkg/fullpkg-find | 4 | ||||
-rwxr-xr-x | src/treepkg | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fullpkg/fullpkg-find b/src/fullpkg/fullpkg-find index a96bc8a..2a5fc44 100755 --- a/src/fullpkg/fullpkg-find +++ b/src/fullpkg/fullpkg-find @@ -51,7 +51,7 @@ # Get repo name. Asumes ${ABSROOT}/repo/package/PKGBUILD guess_repo() { - basename $(dirname $(pwd)) + basename "$(dirname "$(pwd)")" } # This function is stolen from makechrootpkg. @@ -139,7 +139,7 @@ find_deps() { pushd "${pkgdir}" > /dev/null # runs itself on dep's PKGBUILD dir - $0 -l ${next_level} ${build_dir} || return $? + "$0" -l "${next_level}" "${build_dir}" || return $? popd > /dev/null fi diff --git a/src/treepkg b/src/treepkg index e509dac..8879e54 100755 --- a/src/treepkg +++ b/src/treepkg @@ -22,7 +22,7 @@ load_files libretools check_vars libretools HOOKPREBUILD FULLBUILDCMD HOOKLOCALRELEASE || exit 1 load_files makepkg -term_title "$(basename $0)" +term_title "${0##*/}" # End inmediately but print an useful message trap_exit() { |