diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-11-02 15:19:58 +0100 |
---|---|---|
committer | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-11-02 15:31:43 +0100 |
commit | 901eafed5afe6b81813a47f9af1e9c1423d975a9 (patch) | |
tree | f303afd6e3ee16a41425cb8d99a32f655f34602c | |
parent | 99f9d13fccd6075d226aeb7db3694c3b83677a7a (diff) |
script: fix traditional sort
Change-Id: Ied1e7ca6c048d36392b5e142ac0d559880992951
-rwxr-xr-x | extract-files.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh index 18097f8..73558a9 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -1,6 +1,11 @@ #!/bin/bash -export DEVICE=${PWD##*/} +# Use tradition sort +export LC_ALL=C + +FP=$(dirname $(readlink -f $0)) +export VENDOR=$(basename $(dirname $FP)) +export DEVICE=$(basename $FP) export BOARDCONFIGVENDOR=false export BOARD_VENDOR_PLATFORM=shinano |