diff options
author | Que Quotion | 2016-04-01 16:42:54 +0900 |
---|---|---|
committer | Que Quotion | 2016-04-01 16:42:54 +0900 |
commit | 88f63e46280b357f7803bbe3612145cd0663d0bd (patch) | |
tree | 8cc367d92b2fe4d984cd3ba1cf41d8c971eba748 /03.pgo.patch | |
parent | 05ee6d2ba2f2a2d13e46e633d2562fd931451a70 (diff) | |
download | aur-88f63e46280b357f7803bbe3612145cd0663d0bd.tar.gz |
Changes to pgo were unecessary; optdepends optimization packages
Diffstat (limited to '03.pgo.patch')
-rw-r--r-- | 03.pgo.patch | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/03.pgo.patch b/03.pgo.patch index 30413fe07297..50e51153986c 100644 --- a/03.pgo.patch +++ b/03.pgo.patch @@ -30,15 +30,11 @@ [[ -n ${SRCPKGDEST} ]] && _SRCPKGDEST=$(canonicalize_path ${SRCPKGDEST}) [[ -n ${LOGDEST} ]] && _LOGDEST=$(canonicalize_path ${LOGDEST}) [[ -n ${BUILDDIR} ]] && _BUILDDIR=$(canonicalize_path ${BUILDDIR}) -@@ -2109,6 +2125,18 @@ if (( SOURCEONLY )); then +@@ -2109,6 +2125,14 @@ if (( SOURCEONLY )); then IGNOREARCH=1 fi -+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:-$PROFDEST} +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" |