Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-972

get some error info when use ./ to run start-cli.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master branch
    • None
    • CI

    Description

      it@s08:~/boris_zhu/iotdb/distribution/target/apache-iotdb-0.11.0-SNAPSHOT-bin/apache-iotdb-0.11.0-SNAPSHOT/sbin$ ./start-cli.sh
      ./start-cli.sh: 57: ./start-cli.sh: [[: not found
      ./start-cli.sh: 63: ./start-cli.sh: [[: not found
      ./start-cli.sh: 69: ./start-cli.sh: [[: not found
      ./start-cli.sh: 75: ./start-cli.sh: [[: not found
      ---------------------
      Starting IoTDB Cli
      ---------------------
       _____       _________  ______   ______    
      |_   _|     |  _   _  ||_   _ `.|_   _ \   
        | |   .--.|_/ | | \_|  | | `. \ | |_) |  
        | | / .'`\ \  | |      | |  | | |  __'.  
       _| |_| \__. | _| |_    _| |_.' /_| |__) | 
      |_____|'.__.' |_____|  |______.'|_______/  version 0.11.0-SNAPSHOT
                                                 IoTDB> login successfully
      IoTDB> fit@s08:~/boris_zhu/iotdb/distribution/target/apache-iotdb-0.11.0-SNAPSHOT-bin/aptdb-0.11.0-SNAPSHOT/sbin$ bash start-cli.sh 
      ---------------------
      Starting IoTDB Cli
      ---------------------
       _____       _________  ______   ______    
      |_   _|     |  _   _  ||_   _ `.|_   _ \   
        | |   .--.|_/ | | \_|  | | `. \ | |_) |  
        | | / .'`\ \  | |      | |  | | |  __'.  
       _| |_| \__. | _| |_    _| |_.' /_| |__) | 
      |_____|'.__.' |_____|  |______.'|_______/  version 0.11.0-SNAPSHOT
                                                 IoTDB> login successfully
      IoTDB>
      

      as you see above, use bash is ok.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              geniuspig Boris Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: