3

The moment I do . ./hybrisserver.sh after doing ant all (in platform folder)

or I do . ./hybrisserver.sh debug

I get the below error, how should I fix this. The setup was working earlier and I initialized it with a recipe. It works well if I give ./install.sh -r b2c_acc_plus start in the installer folder

. ./hybrisserver.sh

dirname: illegal option -- b

usage: dirname path

-bash: cd: /tomcat/bin: No such file or directory
HybrisHelp
  • 5,518
  • 2
  • 27
  • 65
rd_
  • 395
  • 3
  • 13

1 Answers1

5

It is happening because you are using . ./hybrisserver.sh

The solution is to use ./hybrisserver.sh

Please let me know if you still face any issue.

Arvind Kumar Avinash
  • 71,965
  • 6
  • 74
  • 110
  • 1
    Man... man... man.... wtf.... great answer man.... The setantenv I run with double dots and this with just one... very good thanks.... – xbral Sep 01 '22 at 10:34