Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

i am trying to automate my deployment process for my encoding servers by scripting the installation.... system qq(git://gitclone/x264) but once the directory x264 is created i use chdir to try and change the working directory so i can execute the make file but the script ends and returns "No such Directory". 'ls' confirms the directory exists. So i cant execute the makefile unless i have access to it someone suggested i chmod the permissions on the x264 directory???? help
  • Comment on execute a make file in a directory created by git

Replies are listed 'Best First'.
Re: execute a make file in a directory created by git
by stevieb (Canon) on Apr 10, 2012 at 03:12 UTC

    Share the code you have written. You seem to have a grasp on what you want to do, but we need to see what happens before and after, and most specifically within the chdir() line and the line where you try to run the Makefile.

    If you are successfully creating the directory by cloning from a repo with the current user, and then attempting to change directories and execute something with the same user, it is hard to believe that it is a permission issue.

    I could very well be wrong, but your code will help :)