Description of problem:
Running
patch apply ~/testing/eap6.2.0.CP1.CR1/jboss-eap-6.2.1.CP.CR1-patch.zip
results in
"
Path /home/maschmid/tmp/~/testing/eap6.2.0.CP1.CR1/jboss-eap-6.2.1.CP.CR1-patch.zip doesn't exist.
"
specifying the full path works.
Version-Release number of selected component (if applicable):
EAP6 6.2.0.GA
How reproducible:
always
Steps to Reproduce:
1. Get the 6.2.0 CP1 patch to ~/tmp/jboss-eap-6.2.1.CP.CR1-patch.zip
2. start EAP 6.2.0 ./standalone.sh
3. run jboss-cli.sh --connect
4. in the console "patch apply ~/tmp/jboss-eap-6.2.1.CP.CR1-patch.zip"
5. notice the error
Actual results:
Path /home/foo/tmp/~/tmp/jboss-eap-6.2.1.CP.CR1-patch.zip doesn't exist
Expected results:
patch should apply
Additional info:
Comment 3JBoss JIRA Server
2014-01-25 05:08:48 UTC
Alexey Loubyansky <alex> updated the status of jira WFLY-2794 to Resolved
This is made more likely to hit people due to the fact that tab-completion on the "patch apply" command does handle ~ correctly.
e.g. patch apply ~/jboss-eap-6<tab> will complete to ~/jboss-eap-6.2.1.CP.zip, but then fail to work.