diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-31 20:20:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-31 20:20:09 +0200 |
commit | c2bd3a43342e37a05a97e12581dd2bd52993877a (patch) | |
tree | 39f9427d581669d8f619b4df44c5c5548c8fd955 /scripts | |
parent | ac46bdeef28bc2b65e1880884a79257c28e423a7 (diff) |
Revert "fix conflict, autoseect libgcj"
This reverts commit ac46bdeef28bc2b65e1880884a79257c28e423a7, reversing
changes made to 418fb3668f7140cc3e2ba07c354fe0d9bbb47d04.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/reloc.sh | 6 | ||||
-rw-r--r-- | scripts/scan-pkgs.sh | 8 | ||||
-rw-r--r-- | scripts/scan-tools.sh | 4 | ||||
-rwxr-xr-x | scripts/sha256sum | 11 |
4 files changed, 4 insertions, 25 deletions
diff --git a/scripts/reloc.sh b/scripts/reloc.sh index 59323612f..f7a0a1e3b 100755 --- a/scripts/reloc.sh +++ b/scripts/reloc.sh @@ -1,11 +1,10 @@ #!/usr/bin/env bash # execute this after relocation of adk directory -olddir=$(grep "^TOPDIR" prereq.mk 2>/dev/null |cut -d '=' -f 2) +olddir=$(grep "^TOPDIR" prereq.mk |cut -d '=' -f 2) newdir=$(pwd) -if [ ! -z $olddir ];then - if [ "$olddir" != "$newdir" ];then +if [ "$olddir" != "$newdir" ];then echo "adk directory relocated!" echo "old directory: $olddir" echo "new directory: $newdir" @@ -14,5 +13,4 @@ if [ ! -z $olddir ];then sed -i -e "s#$olddir#$newdir#g" $(find target_*/scripts -type f|xargs) sed -i -e "s#$olddir#$newdir#" target_*/etc/ipkg.conf sed -i -e "s#$olddir#$newdir#" prereq.mk - fi fi diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 2faa334b6..36f861d67 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -66,7 +66,6 @@ if [[ -n $ADK_PACKAGE_GPSD ]]; then fi if [[ -n $ADK_PACKAGE_FIREFOX ]]; then - NEED_YASM="$NEED_YASM firefox" NEED_LIBIDL="$NEED_LIBIDL firefox" NEED_PYTHON="$NEED_PYTHON firefox" fi @@ -333,13 +332,6 @@ if [[ -n $NEED_FLEX ]]; then fi fi -if [[ -n $NEED_YASM ]]; then - if ! which yasm >/dev/null 2>&1; then - echo >&2 You need yasm to build $NEED_YASM - out=1 - fi -fi - if [[ -n $NEED_XSLTPROC ]]; then if ! which xsltproc >/dev/null 2>&1; then echo >&2 You need xsltproc to build $NEED_XSLTPROC diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 8834940c7..7d6d73e53 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -112,8 +112,8 @@ if ! which gzip >/dev/null 2>&1; then out=1 fi -if ! which lzma >/dev/null 2>&1 && ! which xz >/dev/null 2>&1; then - echo You must install lzma or xz-utils to continue. +if ! which lzma >/dev/null 2>&1; then + echo You must install lzma to continue. echo out=1 fi diff --git a/scripts/sha256sum b/scripts/sha256sum deleted file mode 100755 index da34d9113..000000000 --- a/scripts/sha256sum +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -if [ -x /usr/bin/sha256sum ]; then - /usr/bin/sha256sum "$@" -else - tmp=$(mktemp -t yyy) - cat - > $tmp - shasum -a 256 "$@" $tmp -fi |