Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update sub-shell pwd fix #435

Merged
merged 2 commits into from
Dec 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions installer/IP12_avm_freetz_ng_extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,12 @@ IP12_avm_freetz_ng_extract() {
mkdir external/freetz-ng

su - freetzuser -c "git clone https://github.com/Freetz-NG/freetz-ng.git /tmp/freetz-ng"

cd /tmp/freetz-ng || ( echo "Could not install EMBA component Freetz-NG" && exit 1 )

su - freetzuser -c "make allnoconfig"
su - freetzuser -c "cd /tmp/freetz-ng/ && make allnoconfig"
# we currently running into an error that does not hinder us in using Freetz-NG
# sudo -u freetzuser make || true
su - freetzuser -c "make tools"
su - freetzuser -c "cd /tmp/freetz-ng/ && make tools"
cd "$HOME_PATH" || ( echo "Could not install EMBA component Freetz-NG" && exit 1 )
mv -r /tmp/freetz-ng/* external/freetz-ng/
mv /tmp/freetz-ng/* external/freetz-ng/
chown -R root:root external/freetz-ng
if [[ "$IN_DOCKER" -eq 1 ]]; then
# do some cleanup of the docker image
Expand Down