diff options
author | matt335672 <30179339+matt335672@users.noreply.github.com> | 2022-05-12 17:49:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 17:49:27 +0300 |
commit | c610894c13e99579705ef4ac60d202bbec25eb3e (patch) | |
tree | 6a6ad69744d9c82c9564d75cc16cf3fa4fdfb566 | |
parent | 93307a6b0b976b2bfd8cb0f6c9dca7bb10114096 (diff) | |
parent | 5a1e458228c2de6852741adc418d05373ed30f0e (diff) |
Merge pull request #81 from matt335672/restrictive_umask_support
Fix broken wrapper with restrictive root umask
-rwxr-xr-x | scripts/install_pulseaudio_sources_apt_wrapper.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install_pulseaudio_sources_apt_wrapper.sh b/scripts/install_pulseaudio_sources_apt_wrapper.sh index 7b6f531..0cf984c 100755 --- a/scripts/install_pulseaudio_sources_apt_wrapper.sh +++ b/scripts/install_pulseaudio_sources_apt_wrapper.sh @@ -211,8 +211,7 @@ echo "- Creating schroot config file $schroot_conf" # Copy the wrapped script to the buildroot root echo "- Copying the wrapped script to the root" -sudo cp $WRAPPED_SCRIPT $BUILDROOT/wrapped_script || exit $? -sudo chmod +x $BUILDROOT/wrapped_script || exit $? +sudo install -m 755 $WRAPPED_SCRIPT $BUILDROOT/wrapped_script || exit $? # Run the wrapped script log=/var/tmp/pa-build-$USER-schroot.log |