Changeset 51f0c2b for skype/t


Ignore:
Timestamp:
2011-01-03T20:44:01Z (14 years ago)
Author:
Philippe Crama <pcfeb0009@…>
Branches:
master
Children:
dc3f9ef
Parents:
0e88647
Message:

First try absolute path, then look for basename in PATH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/t/Makefile

    r0e88647 r51f0c2b  
    1515$(tests): % : %.test
    1616        @echo "--- Running test $@ ---"; \
    17                 if ! ./livetest-bitlbee.sh $(BITLBEE) $(PORT) irssi/livetest-irssi.sh $< >$@.log; then \
     17                if [ -r "$(BITLBEE)" -a -x "$(BITLBEE)" ]; then \
     18                        bitlbee_binary="$(BITLBEE)"; \
     19                else \
     20                        bitlbee_basename=`basename $(BITLBEE)`; \
     21                        bitlbee_binary=`which $$bitlbee_basename`; \
     22                fi; \
     23                if ! ./livetest-bitlbee.sh "$$bitlbee_binary" $(PORT) irssi/livetest-irssi.sh $< >$@.log; then \
    1824                        echo Test failed, log: ;\
    1925                        cat $@.log;\
Note: See TracChangeset for help on using the changeset viewer.