summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-08-28 10:21:27 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-08-28 10:21:27 +0200
commit438e85f3291e85f2faa10b9c24f79fe799c67e65 (patch)
treeb24cd013744f560711b95075d8f1ea4f35129ae8 /bin
parent275579a96aeae52daec5557651813627ac8945fd (diff)
downloadptxdist-438e85f3291e85f2faa10b9c24f79fe799c67e65.tar.gz
ptxdist-438e85f3291e85f2faa10b9c24f79fe799c67e65.tar.xz
[ptxdist] during select use _DEFAULT als target of link, to plain config file
fixes commit this problem introducted in 19d9bb1543fe77dfe8d11cba5ebc30f1b91a6348: [frogger@hardanger:OSELAS.BSP-Pengutronix-Visbox-ng-trunk]$ ptxdist select configs/ptxconfig error: '/home/frogger/pengutronix/bsp/OSELAS.BSP-Pengutronix-Visbox-ng-trunk/configs/ptxconfig' is not a link. This is mostly not critical, as it usually means that ptxconfig is not selectable in this project. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ptxdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index f9b7563e5..4db3c83a5 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -1415,7 +1415,7 @@ do_select()
{
local type="${1}"
local file="${2}"
- local dest_ptr="PTXDIST_$(echo "${type}" | tr 'a-z' 'A-Z')"
+ local dest_ptr="PTXDIST_$(echo "${type}" | tr 'a-z' 'A-Z')_DEFAULT"
local dest_file="$(readlink -e "${!dest_ptr}")"
local magic="PTXCONF__${type}_MAGIC__=y"