diff options
author | Sergio Martins <smartins@kde.org> | 2018-11-14 22:49:44 +0000 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2018-11-14 22:49:44 +0000 |
commit | 9b32185d0797f2c0ff4ad2b92341fd1011c6d476 (patch) | |
tree | 139c85150d926f37b4f17b7a29b58f3d9a35fd72 | |
parent | 2e881fae6a69bd8898b67a98340a7e5fea471fbf (diff) |
Fix permissions for the generated docker files by the container
-rwxr-xr-x | dev-scripts/docker/make_appimage.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-scripts/docker/make_appimage.sh b/dev-scripts/docker/make_appimage.sh index 9bea8053..71f99602 100755 --- a/dev-scripts/docker/make_appimage.sh +++ b/dev-scripts/docker/make_appimage.sh @@ -1,6 +1,10 @@ # This script shouldn't be run directly, but instead invoked by make_appimage.py # which runs this script in a Centos 6.8 docker container to create an app image +# Arguments +# $1 clazy sha1 to build +# $2 user uid to chown the files to before leaving docker + cp -r /clazy.AppDir /tmp/clazy_work/ cd /clazy git clean -fdx . @@ -8,3 +12,4 @@ git checkout . git pull git checkout $1 cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/clazy_work/clazy.AppDir/usr . && make -j12 && make install +chown -R $2 /tmp/clazy_work/clazy.AppDir/ |