diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-11 11:32:00 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-11 11:32:00 +0100 |
commit | e59e2fc47fc0c03e14c8e33cf63477de244f1ac5 (patch) | |
tree | b7bd0445c14ecffb46c4f3d801b3ec2655a7fe55 /packages/gcc | |
parent | c8c30f31db664b8adc95939bd5b10bf3e2b8369f (diff) |
gcc-package-cross: fix assignment of currdir so do_install succeeds
Diffstat (limited to 'packages/gcc')
-rw-r--r-- | packages/gcc/gcc-package-cross.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gcc/gcc-package-cross.inc b/packages/gcc/gcc-package-cross.inc index a16f21a105..77da3fe3fa 100644 --- a/packages/gcc/gcc-package-cross.inc +++ b/packages/gcc/gcc-package-cross.inc @@ -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/ |