[intel/repo] fix bashish in shell scripts, bug #3022

This commit is contained in:
Fabio Erculiani
2012-02-10 14:05:44 +01:00
parent 4fed05abcb
commit 5bdc28c7fa
4 changed files with 22 additions and 24 deletions

View File

@@ -20,15 +20,15 @@
# PLEASE NOTE: this script is called automatically by entropy and, unless
# requested otherwise, it should be NEVER EVER called by user.
[[ "$UID" != "0" ]] && echo && echo "Skipping update script, you are not root" && exit 0
[ "$UID" != "0" ] && echo && echo "Skipping update script, you are not root" && exit 0
[[ -z "$3" ]] && echo "not enough parameters" && exit 1
[ -z "$3" ] && echo "not enough parameters" && exit 1
REPO_ID=$1
ROOT=$2
BRANCH=$3
function configure_correct_binutils() {
configure_correct_binutils() {
# configure correct binutils
# new profile needs to be configured
echo