Index: gap-4r10p0/cnf/gac.in
===================================================================
--- gap-4r10p0.orig/cnf/gac.in
+++ gap-4r10p0/cnf/gac.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #############################################################################
 ##
 #W  gac.sh                      GAP compiler                 Martin Schoenert
@@ -51,10 +51,10 @@
 SHELL="@SHELL@"
 
 # absolute path of the directory in which GAP was compiled
-abs_top_builddir="@abs_top_builddir@"
+abs_top_builddir="@GAP_BIN@"
 
 # path of the directory the GAP sources contained in
-abs_top_srcdir="@abs_top_srcdir@"
+abs_top_srcdir="@GAP_BIN@"
 
 #
 libdir="@libdir@"
