You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
433 B
Bash
25 lines
433 B
Bash
#!/bin/bash
|
|
|
|
ins() {
|
|
chmod +x *.sh
|
|
cp *.sh /usr/bin
|
|
mv /usr/bin/citrine.sh /usr/bin/citrine
|
|
mv /usr/bin/citrine.internal.sh /usr/bin/citrine.internal
|
|
}
|
|
|
|
testc() {
|
|
citrine
|
|
}
|
|
|
|
if [[ "$1" == "" ]]; then
|
|
echo "./make.sh install - installs citrine"
|
|
echo "./make.sh test - (installs) then runs citrine"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ "$1" == "install" ]]; then
|
|
ins
|
|
elif [[ "$1" == "test" ]]; then
|
|
ins
|
|
testc
|
|
fi |