index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-01-28 11:38:58 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-28 11:42:35 -0600 |
commit | 7f93f0620c44a811aa7989f6d2ed1bf4ba275d62 (patch) | |
tree | 51c964d04e4aafaf05353d9440f1a53b6834a291 /ltmain.sh | |
parent | fe76c353af6d91ce9f225dc2b0195a689f6790da (diff) |
-rwxr-xr-x | ltmain.sh | 19 |
@@ -3982,14 +3982,17 @@ func_exec_program_core () # launches target application with the remaining arguments. func_exec_program () { - for lt_wr_arg - do - case \$lt_wr_arg in - --lt-*) ;; - *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; - esac - shift - done + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac func_exec_program_core \${1+\"\$@\"} } |