diff --git a/my-distro-debian-32-pae/BldHelper.sh b/my-distro-debian-32-pae/BldHelper.sh index dd0fa00b..c67d921a 100755 --- a/my-distro-debian-32-pae/BldHelper.sh +++ b/my-distro-debian-32-pae/BldHelper.sh @@ -15,7 +15,7 @@ BUILD=deb-32-pae FileName="${PREFIX}-${SUFFIX}" LOCATION=$HOME/out/${BUILD} LogDir=$HOME/logs -WorkingDir=$HOME/My-distro-configs-debian/my-distro-debian-32-pae +WorkingDir=/home/$SUDO_USER/My-distro-configs-debian/my-distro-debian-32-pae # Execute the ISO building script diff --git a/my-distro-debian-32/BldHelper.sh b/my-distro-debian-32/BldHelper.sh index 436d8899..ad87d157 100755 --- a/my-distro-debian-32/BldHelper.sh +++ b/my-distro-debian-32/BldHelper.sh @@ -15,7 +15,7 @@ BUILD=deb-32 FileName="${PREFIX}-${SUFFIX}" LOCATION=$HOME/out/${BUILD} LogDir=$HOME/logs -WorkingDir=$HOME/My-distro-configs-debian/my-distro-debian-32 +WorkingDir=/home/$SUDO_USER/My-distro-configs-debian/my-distro-debian-32 # Execute the ISO building script cd ${WorkingDir} diff --git a/my-distro-debian-64/BldHelper.sh b/my-distro-debian-64/BldHelper.sh index b773c9dc..49cfaebf 100755 --- a/my-distro-debian-64/BldHelper.sh +++ b/my-distro-debian-64/BldHelper.sh @@ -15,7 +15,7 @@ BUILD=deb-64 FileName="${PREFIX}-${SUFFIX}" LOCATION=$HOME/out/${BUILD} LogDir=$HOME/logs -WorkingDir=$HOME/My-distro-configs-debian/my-distro-debian-64 +WorkingDir=/home/$SUDO_USER/My-distro-configs-debian/my-distro-debian-64 # Execute the ISO building script