Git Product home page Git Product logo

Comments (12)

bcremer avatar bcremer commented on June 14, 2024 1

Thanks for reporting back. I'll close this issue as resolved.

from shopware-vagrant.

bcremer avatar bcremer commented on June 14, 2024

You can call install_shopware like the changephp_* script from anywhery without having to specify the absolute script path.

This is because /home/vagrant/bin is setup in the $PATH environment variable`.

echo $PATH
/home/vagrant/bin:/home/vagrant/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

Also ant should already install all it's dependencies. I suppose the provisioning process failed on your machine. Please try to re-provision your box with by running vagrant provision (please git pull before).

from shopware-vagrant.

Gugiman avatar Gugiman commented on June 14, 2024

same here for changephp_*:

vagrant@shopware:$
vagrant@shopware:
$
vagrant@shopware:$ changephp_5.6
: No such file or directory
vagrant@shopware:
$
vagrant@shopware:~$

from shopware-vagrant.

bcremer avatar bcremer commented on June 14, 2024

@larsbo what is the output of echo $PATH?
Please also try vagrant provision.

from shopware-vagrant.

Gugiman avatar Gugiman commented on June 14, 2024

Pulled and provisioned

/home/vagrant/bin:/home/vagrant/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

I can call changephp_5.6 from anywhere but then nothing happens.

from shopware-vagrant.

bcremer avatar bcremer commented on June 14, 2024

Ok got it.
It seems like the newlines got screwed up during checkout. I suppose you checked the repo out on a windows machine?

Can you please run the following command and test the scripts again:

sed -i 's/\r//' /home/vagrant/bin/*

from shopware-vagrant.

Gugiman avatar Gugiman commented on June 14, 2024

Good Catch.
Yes that's right.
Just installed dos2unix to test but I think your snippets does the same.

Now everything runs fine.

from shopware-vagrant.

bcremer avatar bcremer commented on June 14, 2024

This commit should fix the issue: ee33bbe

You might have to do a fresh checkout.

from shopware-vagrant.

larsbo avatar larsbo commented on June 14, 2024

I did a fresh shopware-vagrant installation but I still got the error:

vagrant@shopware:~$ install_shopware
: No such file or directory

I used the git console from the official package available at http://git-scm.com:

$ git --version
git version 2.10.0.windows.1

from shopware-vagrant.

Gugiman avatar Gugiman commented on June 14, 2024

Same here after complete fresh clone.

git version 2.7.2.windows.1

vagrant@shopware:$
vagrant@shopware:
$ changephp_5.6
: No such file or directory
vagrant@shopware:~$

from shopware-vagrant.

bcremer avatar bcremer commented on June 14, 2024

@larsbo @Gugiman my latest commit (0608537) should fix this issue.
Can you please test this with a fresh checkout.

Thanks in advance.

from shopware-vagrant.

Gugiman avatar Gugiman commented on June 14, 2024

Can confirm.
In my case the issue is solved.

Thanks for your effort @bcremer !

from shopware-vagrant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.