eucarc files contain bash-isms

Bug #696975 reported by Garrett Holmstrom
This bug report is a duplicate of:  Bug #376425: generated eucarc contains bashisms. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
New
Undecided
chris grzegorczyk

Bug Description

It seems that the eucarc files that Eucalyptus generates usually begin with:

EUCA_KEY_DIR=$(dirname $(readlink -f ${BASH_SOURCE}))

This obviously won't work on shells that aren't bash. Why not store $_ at the beginning of the script and use that instead? That's portable to ksh and zsh.

Daniel Nurmi (nurmi)
Changed in euca2ools:
assignee: nobody → chris grzegorczyk (chris-grze)
affects: euca2ools → eucalyptus
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.