aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild/scripts/buildscript
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/portbuild/scripts/buildscript')
-rwxr-xr-xTools/portbuild/scripts/buildscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript
index 436b0e474fb7..b6c4d2d530aa 100755
--- a/Tools/portbuild/scripts/buildscript
+++ b/Tools/portbuild/scripts/buildscript
@@ -6,7 +6,7 @@
mountprocfs() {
arch=$1
- if [ ${arch} = "i386" ]; then
+ if [ ${arch} = "i386" -o ${arch} = "amd64" ]; then
# JDK ports need linprocfs :(
mkdir -p /compat/linux/proc
mount_linprocfs linprocfs /compat/linux/proc
@@ -16,7 +16,7 @@ mountprocfs() {
umountprocfs() {
arch=$1
- if [ ${arch} = "i386" ]; then
+ if [ ${arch} = "i386" -o ${arch} = "amd64" ]; then
umount -f /compat/linux/proc 2> /dev/null > /dev/null
fi
}