ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Build an eDoc Reader for Your iPod, Part 3
Subject:   You may want to add quotes to that shell script...
Date:   2005-01-07 22:42:38
From:   philippec
Great article! But in prelude.sh, you may want to add quotes to these lines:

cmd="PodReader"


export CLASSPATH="$CLASSPATH:$here/../Resources/log4j-1.2.8.jar"
export CLASSPATH="$CLASSPATH:$here/../Resources/PDFBox-0.6.7a.jar"


exec "$here/$cmd"


I named my program "Pod Reader", but any non-standard character in your path will cause it to fail.


1 to 1 of 1
  1. Matthew Russell photo You may want to add quotes to that shell script...
    2005-01-08 00:41:16  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

1 to 1 of 1