Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7069

CLI don't use "~" character correctly in --file attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR9
    • 7.1.0.DR7
    • CLI, User Experience
    • None

      CLI don't use "~" character correctly in --file attribute

      Steps to reproduce:

      cat << EOF > ~/cli.txt
      echo a
      EOF
      ./jboss-cli.sh --file=/home/mkopecky/cli.txt # this works correctly
      ./jboss-cli.sh --file=~/cli.txt # this doesn't works correctly
      

      Actual results:

      [mkopecky@dhcp-10-40-4-180 bin]$ ./jboss-cli.sh --file=~/cli.txt # this doesn't works correctly
      File /home/mkopecky/playground/eap/7.1.0.DR7/jboss-eap-7.1/bin/~/cli.txt doesn't exist.
      [mkopecky@dhcp-10-40-4-180 bin]$ 
      

            jdenise@redhat.com Jean Francois Denise
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: