2022-03-05 20:57:02 +01:00
|
|
|
#!/bin/bash
|
2022-04-29 20:03:58 +02:00
|
|
|
if [ "$ISBPL_PATH" = "" ] ; then
|
|
|
|
echo 'ISBPL_PATH=/usr/lib/isbpl' >> /etc/environment
|
|
|
|
fi
|
2022-03-05 20:57:02 +01:00
|
|
|
mkdir /usr/lib/isbpl
|
|
|
|
cp ./*.isbpl /usr/lib/isbpl
|
2022-04-29 20:03:58 +02:00
|
|
|
cd bootstrap
|
|
|
|
javac ISBPL.java
|
|
|
|
zip -r ISBPL.jar *.class META-INF
|
|
|
|
rm *.class
|
|
|
|
cd ..
|
|
|
|
echo "#!/usr/bin/java -jar" > ISBPL.jar
|
|
|
|
cat bootstrap/ISBPL.jar >> ISBPL.jar
|
|
|
|
chmod a+rx ISBPL.jar
|
|
|
|
cp ISBPL.jar /bin/isbpl
|
|
|
|
chmod a+rx /bin/isbpl
|