From 6ebbdc632faa225ebc2fe49692928307b382958d Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Thu, 17 Mar 2022 13:38:22 +0000 Subject: [PATCH] Remove dependency on mounted /home from the wrapper script --- .../install_pulseaudio_sources_apt_wrapper.sh | 50 ++++++++++++++----- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/scripts/install_pulseaudio_sources_apt_wrapper.sh b/scripts/install_pulseaudio_sources_apt_wrapper.sh index 0cf984c..71471d9 100755 --- a/scripts/install_pulseaudio_sources_apt_wrapper.sh +++ b/scripts/install_pulseaudio_sources_apt_wrapper.sh @@ -37,9 +37,9 @@ # --------------------------------------------------------------------------- # G L O B A L S # --------------------------------------------------------------------------- -# Where the output files are going. Must be under $HOME as schroot -# assumes this. -PULSE_DIR=$HOME/pulseaudio.src +# Where the output files are going +PULSE_DIRNAME=pulseaudio.src +PULSE_DIR=$HOME/$PULSE_DIRNAME # Absolute path to the script we're wrapping. This picks it up from # the same directory this file is in @@ -100,23 +100,29 @@ InstallRequiredPackages() # # This function definition uses () rather than {} to create an extra # sub-process where we can run 'set -e' without affecting the parent +# +# Parameters :