diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2008-11-17 22:28:31 +0000 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2008-11-17 22:28:31 +0000 |
commit | 82520602aa413a48235e999e9a7b09fc32c5e383 (patch) | |
tree | 07e1aa1f14a72cee454be736f5e66b38b0e7300c /bin | |
parent | a0457ba69181ae4acdb9e0c7e6450f66878b3242 (diff) | |
download | ptxdist-82520602aa413a48235e999e9a7b09fc32c5e383.tar.gz ptxdist-82520602aa413a48235e999e9a7b09fc32c5e383.tar.xz |
* print: speedup if variable is known right from the beginning
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9125 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ptxdist | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 5620cfe18..b5580dba3 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1461,9 +1461,14 @@ parse_second() ;; print) check_ptxconfig || return - check_deps - ptxd_make_log "print-${1}" + if [ -n "${!1}" ]; then + echo ${!1}; + else + check_deps + ptxd_make_log "print-${1}" + fi shift + #XXX: wsa: No exit. Intentional? ;; projects) projects |