mcrapet / plowshare

Command-line tool and engine for managing sharing websites
GNU General Public License v3.0
850 stars 88 forks source link

Little error when I do a make install #77

Closed kidburglar closed 7 years ago

kidburglar commented 7 years ago

Hello, I have a little error when I do a make install. I don't know very well the syntax so I prefer to change it myself.

/bin/sh: 1: scripts/version: Permission denied Makefile:76: recipe for target 'patch_git_version' failed Edit: I don't know why I only have the problem now because I see in the repo that the line in the makefile exist from a very long time... But if you have idea and test I will well try in case we not find why I will well bypass it in the Makefile.

Cheers

mcrapet commented 7 years ago

scripts/version must have executable permission.If you downloaded plowshare through a .zip files permissions will be lost.

kidburglar commented 7 years ago

Mmm I'm sure the problem come from some permission but I cannot find where (it's on another driver mount with special groups so it's a little tricky. But we cannot use a shell like /bin/sh directly in the Makefile in place of execute the script ? If you find the question useless you may close the issue if you want.

mcrapet commented 7 years ago

Mmm I'm sure the problem come from some permission but I cannot find where version is the only file required by makefile to have executable permission.

But we cannot use a shell like /bin/sh directly in the Makefile in place of execute the script ? It could be a possible workaround for you.