-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Description
I tried to install this through Cygwin because I do not have a linux machine
Cygwin works with the .sh files but the problem is that the .sh files point to linux paths and keeps breaking java causing java errors
Here's the changes I did to restore.sh to get it to work
set -e
helpFunction()
{
echo ""
echo "Usage: $0 <dest dir>"
exit 1 # Exit script after printing help
}
if [ -z "$1" ]
then
echo "<dest dir> is not specified";
helpFunction
fi
WDIR="C:\\Cygwin64\\XiPKI\\"
if [ "x$JAVA_HOME" = "x" ]; then
JAVA_EXEC=java
else
JAVA_EXEC=$JAVA_HOME/bin/java
fi
CLASSPATH="C:\\Cygwin64\\XiPKI\\lib\\app-package-1.0.11.jar"
$JAVA_EXEC -cp "$CLASSPATH" org.xipki.apppackage.RestorePackage $WDIR/files "$1"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels