diff options
author | Yingpei Zeng <zengyingpei@cmhi.chinamobile.com> | 2018-03-06 15:14:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 15:14:38 +0800 |
commit | ac31c1ba980b64b52f70d40d6ba2649111ed52c4 (patch) | |
tree | fb543aff96e3a40db7bab3f4e316d2e338f8da4d /autogen.sh | |
parent | 3aaae46c660a23a27d113a908fcc4f53d46bfff5 (diff) |
Add chmod +x to the generated configure file
Fix an error when running autogen.sh on Ubuntu (16.04 LTS):
./autogen.sh: 49: ./autogen.sh: ./configure: Permission denied
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 13bb2d801..fecb6b1f8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -44,4 +44,5 @@ autoreconf -ivf cat configure | sed "s/#define PACKAGE/#define NDPI_PACKAGE/g" | sed "s/#define VERSION/#define NDPI_VERSION/g" > configure.tmp cat configure.tmp > configure +chmod +x configure ./configure $* |