Threaded View

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    8
    Vote Rating
    0
    raztus is on a distinguished road

      0  

    Default Sencha cmd bash script fails when install path contains spaces

    Sencha cmd bash script fails when install path contains spaces


    Sencha Cmd version(s) tested:
    • Sencha Cmd 3.1.1.274
    Operating System:
    • OS X
    • Linux (Ubuntu 12.10)
    Framework used:
    • Irrelevant
    Description:
    • When the directory containing the sencha cmd tools has spaces in it, the "sencha" bash script fails. We have the cmd tools committed to git, then Jenkins runs it directly out of its workspace directory.
    Steps to reproduce the problem:

    Code:
    /home/myhome/jenkins/workspace with spaces/ $ sencha-cmd/sencha app build production
    
    /home/myhome/jenkins/workspace with spaces/sencha-cmd/sencha: line 37: [: too many arguments
    sed: /home/myhome/jenkins/workspace: No such file or directory
    Unable to access jarfile /home/myhome/jenkins/workspace
    This occurs because the $BASEDIR variable in the "sencha" script is not properly quoted wherever used. The attached patch resolves the issue for both the Linux and OS X versions.
    Attached Files
    Last edited by raztus; 20 May 2013 at 9:13 AM. Reason: Clarify code block

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi