summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2016-12-19 13:48:23 -0800
committerGitHub <noreply@github.com>2016-12-19 13:48:23 -0800
commit86c2065d7d1e28889c67a43d6631cb3f2c3ed2cc (patch)
tree76f6de8fd552127feba6f9bc619e054d725bebea
parentc62ca6b51403478daaac425b87452aac786e4042 (diff)
parentbfb70f26ce5178572b0e6245b3dce9a6de7e7be5 (diff)
downloadacpica-86c2065d7d1e28889c67a43d6631cb3f2c3ed2cc.tar.gz
Merge pull request #194 from zetalog/acpica-linuxize
Acpica linuxize
-rwxr-xr-xgenerate/linux/gen-patch.sh4
-rwxr-xr-xgenerate/linux/gen-repo.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/generate/linux/gen-patch.sh b/generate/linux/gen-patch.sh
index 694c0ec45..a588bed89 100755
--- a/generate/linux/gen-patch.sh
+++ b/generate/linux/gen-patch.sh
@@ -53,8 +53,8 @@ if [ "x${COMMIT}" = "x" ]; then
COMMIT=HEAD
fi
-after=`git log -1 ${COMMIT} --format=%H | cut -c1-8`
-before=`git log -1 ${COMMIT}^1 --format=%H | cut -c1-8`
+after=`git log -1 ${COMMIT} --format=%H`
+before=`git log -1 ${COMMIT}^1 --format=%H`
SCRIPT=`(cd \`dirname $0\`; pwd)`
. $SCRIPT/libacpica.sh
diff --git a/generate/linux/gen-repo.sh b/generate/linux/gen-repo.sh
index b268eb43b..c092f6255 100755
--- a/generate/linux/gen-repo.sh
+++ b/generate/linux/gen-repo.sh
@@ -34,7 +34,7 @@ do
done
shift $(($OPTIND - 1))
-version=`git log -1 $1 --format=%H | cut -c1-8`
+version=`git log -1 $1 --format=%H`
SCRIPT=`(cd \`dirname $0\`; pwd)`
. $SCRIPT/libacpica.sh