diff options
author | Que Quotion | 2016-03-25 01:04:45 +0900 |
---|---|---|
committer | Que Quotion | 2016-03-25 01:04:45 +0900 |
commit | 05ee6d2ba2f2a2d13e46e633d2562fd931451a70 (patch) | |
tree | 948570e8dcbd5492b61b87926131a6b8a5078ac2 /03.pgo.patch | |
parent | 550bf4c208511f2a5d6da068854e31d95f1bb222 (diff) | |
download | aur-05ee6d2ba2f2a2d13e46e633d2562fd931451a70.tar.gz |
Sorry for the breakage!
Diffstat (limited to '03.pgo.patch')
-rw-r--r-- | 03.pgo.patch | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/03.pgo.patch b/03.pgo.patch index 50e51153986c..30413fe07297 100644 --- a/03.pgo.patch +++ b/03.pgo.patch @@ -30,11 +30,15 @@ [[ -n ${SRCPKGDEST} ]] && _SRCPKGDEST=$(canonicalize_path ${SRCPKGDEST}) [[ -n ${LOGDEST} ]] && _LOGDEST=$(canonicalize_path ${LOGDEST}) [[ -n ${BUILDDIR} ]] && _BUILDDIR=$(canonicalize_path ${BUILDDIR}) -@@ -2109,6 +2125,14 @@ if (( SOURCEONLY )); then +@@ -2109,6 +2125,18 @@ if (( SOURCEONLY )); then IGNOREARCH=1 fi -+PROFDEST=${_PROFDEST:-$PROFDEST} ++if [[ "${0##*/}" = "mkchrootpkg" ]]; then ++ PROFDEST=$PWD #default to $PWD for mkchrootpkg; which should only build one package at a time. ++else ++ PROFDEST=${PROFDEST:-$startdir} #default to $startdir if undefined ++fi +PROFDEST=${PROFDEST:-$startdir} #default to $startdir if undefined +if [[ ! -w $PROFDEST ]] ; then + error "$(gettext "You do not have write permission to store profiles in %s.")" "$PROFDEST" |