Skip to content

Instantly share code, notes, and snippets.

View pcamp96's full-sized avatar

Patrick Campanale pcamp96

View GitHub Profile
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
personal-carbon-script.sh
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
# Find out what ROM the user is building
if [[ "$repoanswer" == "y" ]]; then
echo "repo sync"; repo sync; check_result "repo sync failed."
fi
echo "Ok, continuing....."
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
# Find out what ROM the user is building
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
# Find out what ROM the user is building
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
# Find out what ROM the user is building