diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 4faae0d2c9da5f0e79305be4c1adb219c3f351a3..6503728d8f256abe6087a1b459a66738b2f4d5fc 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -55,7 +55,6 @@
 # avoids the need to come up with a user-friendly naming scheme for
 # spack dotfiles.
 ########################################################################
-arrtest[0]='test' || (echo 'Failure: arrays not supported in this version of bash.' && exit 2)
 
 function spack {
     # save raw arguments into an array before butchering them