Post
Topic
Board Announcements (Altcoins)
Re: NAS :: Descendant of NXT 100% PoS|More Exchanges|WinNAS is ready!
by
User1397367406
on 16/05/2015, 20:19:06 UTC
@patapato

While i'm at it, there are a few little things wrong in the shell script "*.sh" files for Linux:

- Line endings: the line ending in the script files is "CR LF"(\r\n)[windows line ending] and should be only "LF"(\n)[*nix line ending]

- compile.sh needs also changes, here is what i'm using(should match win-compile.sh):
Code:
CP=conf/:classes/:lib/*
SP=src/java/

/bin/mkdir -p classes/

javac -sourcepath ${SP} -classpath ${CP} -d classes/ src/java/nxt/*.java src/java/nxt/*/*.java || exit 1

/bin/rm -f nxt.jar
jar cf nxt.jar -C classes . || exit 1
/bin/rm -rf classes

echo "nxt.jar generated successfully"