View Issue Details

IDProjectCategoryView StatusLast Update
0001861ardourbugspublic2008-11-21 00:04
Reportereldad Assigned Topaul  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001861: command-line parse problem with spaces (ardour 2.0.5)
Descriptionthe ardour.sh shellscript is passing the wrong kind of glob -

in ardour.sh.in:

 exec %INSTALL_PREFIX%/%LIBDIR%/ardour2/ardour-%VERSION% $*

should be:

 exec %INSTALL_PREFIX%/%LIBDIR%/ardour2/ardour-%VERSION% "$@"

--

When trying to open a session with a filename that contains spaces, the glob $* breaks the argument according to the spaces, so that:

  ardour2 "session/session 1/"

is seen by the ardour executable itself as:

  ardour2 "session/session" "1/"

the correct bash glob is "$@" (with the quotation marks).
TagsNo tags attached.

Activities

paul

2007-09-12 15:32

administrator   ~0004355

thanks for alerting me to this. i've had to fix the same problem in other scripts - stupid of me to repeat it for ardour.

fixed for 2.0-ongoing and trunk, in not just ardour.sh but also the "run-in-place" scripts like ardev, arval and arprof.

Issue History

Date Modified Username Field Change
2007-09-07 05:58 eldad New Issue
2007-09-12 15:32 paul Status new => resolved
2007-09-12 15:32 paul Resolution open => fixed
2007-09-12 15:32 paul Assigned To => paul
2007-09-12 15:32 paul Note Added: 0004355
2008-11-21 00:04 seablade Status resolved => closed