summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayad2021-01-28 09:44:55 +0600
committersayad2021-01-28 09:44:55 +0600
commit5f4c80bf3f03ce6c5c4d6dbfb67a10d9a5f1f677 (patch)
treee5630bdd6c48ad952112d9bae0747b4538cf3234
parent174abff815a7077161b6c12c7de507218235d9ac (diff)
downloadaur-5f4c80bf3f03ce6c5c4d6dbfb67a10d9a5f1f677.tar.gz
Bug fix
-rw-r--r--prepare12
1 files changed, 6 insertions, 6 deletions
diff --git a/prepare b/prepare
index 21cdd1a05932..6181677559d4 100644
--- a/prepare
+++ b/prepare
@@ -9,6 +9,9 @@ ver511=rc5
_tkg_initscript() {
+ # create build dir early
+ _path="${_where}"
+
if [ -z "$_OPTIPROFILE" ] && [ ! -e "$_path"/cpuschedset ]; then
# Prompt about optimized configurations. Available variable values will overwrite customization.cfg/external config ones.
plain "Do you want to use a predefined optimized profile?"
@@ -21,12 +24,9 @@ _tkg_initscript() {
fi
# Load external configuration file if present. Available variable values will overwrite customization.cfg ones.
- if [ -e "$_EXT_CONFIG_PATH" ]; then
- source "$_EXT_CONFIG_PATH" && msg2 "External configuration file $_EXT_CONFIG_PATH will be used to override customization.cfg values.\n"
- fi
-
- # create build dir early
- _path="${_where}"
+# if [ -e "$_EXT_CONFIG_PATH" ]; then
+# source "$_EXT_CONFIG_PATH" && msg2 "External configuration file $_EXT_CONFIG_PATH will be used to override customization.cfg values.\n"
+# fi
if [ -z "$_version" ] && [ ! -e "$_path"/versel ]; then
echo "_basever=510" > "$_path"/versel