remove export and unset

This commit is contained in:
Tobias Powalowski 2022-02-09 10:59:26 +01:00
parent 2033e6f93b
commit cd0bf4a457
2 changed files with 2 additions and 5 deletions

View file

@ -1,9 +1,8 @@
#! /bin/bash #! /bin/bash
source /usr/lib/archboot/functions source /usr/lib/archboot/functions
source /usr/lib/archboot/server_functions source /usr/lib/archboot/server_functions
export _ARCH="aarch64" _ARCH="aarch64"
_root_check _root_check
_buildserver_check _buildserver_check
_update_aarch64_pacman_chroot _update_aarch64_pacman_chroot
_server_release _server_release
unset _ARCH

View file

@ -1,11 +1,9 @@
#! /bin/bash #! /bin/bash
source /usr/lib/archboot/functions source /usr/lib/archboot/functions
source /usr/lib/archboot/server_functions source /usr/lib/archboot/server_functions
export _ARCH="x86_64" _ARCH="x86_64"
_root_check _root_check
_buildserver_check _buildserver_check
_pacman_x86_64_use_default _pacman_x86_64_use_default
_server_release _server_release
_pacman_x86_64_restore _pacman_x86_64_restore
unset _ARCH