diff --git a/autoconf_share/assay b/autoconf_share/assay
index 118f7325fce1d1a9545c97139c1a5d20d3714917..3975cc900f421e4a0fa6dbce58f7bdd11da5265d 100755
--- a/autoconf_share/assay
+++ b/autoconf_share/assay
@@ -219,7 +219,7 @@
     # Because the job does not wait, we do that by using a wait file.
     # Note that yod does wait.
     if test "$AIPSPATH" != ""; then
-      $PBS_AIPSPATH="PBS -v $AIPSPATH"
+      PBS_AIPSPATH="PBS -v $AIPSPATH"
     fi
     rm -f ${PROG}_tmp.wait
     cat > ${PROG}_tmp.qsub <<EOF