gcc-package-cross: fix assignment of currdir so do_install succeeds
authorKoen Kooi <koen@openembedded.org>
Thu, 11 Dec 2008 10:32:00 +0000 (11:32 +0100)
committerKoen Kooi <koen@openembedded.org>
Thu, 11 Dec 2008 10:32:00 +0000 (11:32 +0100)
packages/gcc/gcc-package-cross.inc

index a16f21a..77da3fe 100644 (file)
@@ -65,7 +65,7 @@ do_install () {
        # Link gfortran to g77 to satisfy not-so-smart configure or hard coded g77
        # gfortran is fully backwards compatible. This is a safe and practical solution.
        if [ -f ${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ]; then
-              currdir = $PWD
+              currdir="$PWD"
               cd ${CROSS_DIR}/bin/
               ln -sf ${TARGET_PREFIX}gfortran ${TARGET_PREFIX}g77 || true
               cd ${CROSS_DIR}/${TARGET_SYS}/bin/