summaryrefslogtreecommitdiff
path: root/config_host.mk.source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-06-21 08:56:52 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-22 13:11:41 +0200
commiteba629deb755049bba1850c6a32008ceccb9b11e (patch)
tree65a95339824afc1d8a8a1034295a4de275bcf4a6 /config_host.mk.source
parentd712218cc0b658fae66f63c52af7996b714289c9 (diff)
specify the sourced file with path
"man source" says: "If filename does not contain a slash, file names in PATH are used to find the directory containing file‐ name. The file searched for in PATH need not be executable. When bash is not in posix mode, the current directory is searched if no file is found in PATH." Change-Id: I7dc15d30ba925c71d02da2cd8b91ea08192730fc
Diffstat (limited to 'config_host.mk.source')
-rw-r--r--config_host.mk.source2
1 files changed, 1 insertions, 1 deletions
diff --git a/config_host.mk.source b/config_host.mk.source
index 042ffa2589be..10dd6177b035 100644
--- a/config_host.mk.source
+++ b/config_host.mk.source
@@ -6,5 +6,5 @@
temp_conf=`mktemp config_host.mk.XXXXXX`
sed -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' config_host.mk >$temp_conf
-source $temp_conf
+source ./$temp_conf
rm $temp_conf