[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] [2530] Un-bashify, so it runs with a generic POSIX she
From: |
j |
Subject: |
[avr-libc-commit] [2530] Un-bashify, so it runs with a generic POSIX shell. |
Date: |
Tue, 6 Dec 2016 20:21:44 +0000 (UTC) |
Revision: 2530
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2530
Author: joerg_wunsch
Date: 2016-12-06 20:21:44 +0000 (Tue, 06 Dec 2016)
Log Message:
-----------
Un-bashify, so it runs with a generic POSIX shell.
Modified Paths:
--------------
trunk/avr-libc/tests/simulate/runtest.sh
Modified: trunk/avr-libc/tests/simulate/runtest.sh
===================================================================
--- trunk/avr-libc/tests/simulate/runtest.sh 2016-12-05 06:09:28 UTC (rev
2529)
+++ trunk/avr-libc/tests/simulate/runtest.sh 2016-12-06 20:21:44 UTC (rev
2530)
@@ -162,9 +162,12 @@
local multilibdir=`$AVR_GCC -mmcu=$2 -print-multi-directory`
# prefix dir 'avr2' if multilib dir is default or not starts with 'avr'
# example: '.' or 'tinystack'
- if [[ $multilibdir != "avr"* ]]; then
- multilibdir="avr2/$multilibdir"
- fi
+ case "$multilibdir" in
+ avr*)
+ ;;
+ *)
+ multilibdir="avr2/$multilibdir"
+ esac
crt=crt$2.o
flags="-isystem $AVRDIR/include -nostdlib"
crt=`find $AVRDIR/avr/lib -name $crt -print | head -1`
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] [2530] Un-bashify, so it runs with a generic POSIX shell.,
j <=