diff --git a/direct/src/ffi/genPyCode b/direct/src/ffi/genPyCode index 710990909a..738e198825 100755 --- a/direct/src/ffi/genPyCode +++ b/direct/src/ffi/genPyCode @@ -62,9 +62,6 @@ fi if [ "$firstarg" = "install" ]; then # as installed on a machine without ctattach etc. - if [ $INSTALL ]; then - cd $INSTALL - fi exec bin/ppython -d bin/generatePythonCode -v -d lib/py -e ../direct/src/extensions -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect $extra_genPyCode_libs exit 1 fi