File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -108,17 +108,17 @@ function chroot_build_builder() {
108
108
109
109
110
110
if [[ ! -d " $chroot_rps_dir " ]]; then
111
- sudo -u $user git clone " $home /RetroPie-Setup " " $chroot_rps_dir "
111
+ sudo -u $user git clone " $scriptdir " " $chroot_rps_dir "
112
112
gpg --export-secret-keys " $__gpg_signing_key " > " $chroot_dir /retropie.key"
113
113
rp_callModule image chroot " $chroot_dir " bash -c " \
114
114
sudo gpg --import " /retropie.key" ; \
115
115
sudo rm " /retropie.key" ; \
116
116
sudo apt-get update; \
117
117
sudo apt-get install -y git; \
118
118
"
119
- # copy existing packages from host if building in a clean chroot to avoid rebuilding everything
120
- mkdir -p " $chroot_rps_dir /$archive_dir "
121
- rsync -av " $home /RetroPie-Setup /$archive_dir /" " $chroot_rps_dir /$archive_dir /"
119
+ # copy existing packages from host if building in a clean chroot to avoid rebuilding everything
120
+ mkdir -p " $chroot_rps_dir /$archive_dir "
121
+ rsync -av " $scriptdir /$archive_dir /" " $chroot_rps_dir /$archive_dir /"
122
122
else
123
123
sudo -u $user git -C " $chroot_rps_dir " pull
124
124
fi
@@ -139,6 +139,6 @@ function chroot_build_builder() {
139
139
/home/pi/RetroPie-Setup/retropie_packages.sh builder " $@ "
140
140
done
141
141
142
- rsync -av " $chroot_rps_dir /$archive_dir /" " $home /RetroPie-Setup /$archive_dir /"
142
+ rsync -av " $chroot_rps_dir /$archive_dir /" " $scriptdir /$archive_dir /"
143
143
done
144
144
}
You can’t perform that action at this time.
0 commit comments