Anyone familiar or use IzPack? Trouble running shell script.

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Post Reply
DavidKlecker
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 232
Joined: Sun Nov 29, 2009 10:35 am

Anyone familiar or use IzPack? Trouble running shell script.

Post by DavidKlecker »

I really have no idea what I am doing wrong. I have tried just about all the permutations I can think of and have quadruple checked the .sh script. Even if I comment out everything but a single line which is nothing more than

Code: Select all

#!/bin/bash
scriptdir=$(dirname $0)
IzPack during install still tells me that there is an error when executing the script. If I run it on the command line it's fine. IzPack just won't run it? for the IzPack call I am doing the following

Code: Select all

<executable targetfile="$INSTALL_PATH/AutoHarp.sh" stage="never">
</executable>
<executable targetfile="$INSTALL_PATH/AutoHarp.sh" stage="postinstall">
</executable>
This is straight out of the book. i'm stumped. I have no idea why IzPack won't run a one line script.

Thanks!
Post Reply