diff --git a/action.yml b/action.yml index dd9982a..b5643e8 100644 --- a/action.yml +++ b/action.yml @@ -42,12 +42,8 @@ runs: if [[ -x autogen.sh ]]; then ./autogen.sh fi - if grep Autoconf ./configure > /dev/null - then + if [[ -x configure ]]; then ./configure --with-gaproot=$GAPROOT ${{ inputs.CONFIGFLAGS }} - make -j4 V=1 - elif [[ -x configure ]]; then - ./configure ${{ inputs.CONFIGFLAGS }} $GAPROOT - make -j4 CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" + make -j4 V=1 CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" fi shell: bash