It's frustrating when the obvious blind sides you : p
Really s/kheaders/kheaders_ver : )
--- make_versionh.sh.org Thu Nov 29 09:18:55 2001
+++ make_versionh.sh Sun Mar 10 03:51:50 2002
@@ -1,6 +1,6 @@
echo $PWD
read VERSION PATCHLEVEL SUBLEVEL <<EOF
-$(echo %{kheaders} |awk -F. '{print $1, " ", $2, " ", $3}')
+$(echo %{kheaders_ver} |awk -F. '{print $1, " ", $2, " ", $3}')
EOF
LINUX_VERSION_CODE=$(expr $VERSION \* 65536 + $PATCHLEVEL \* 256 + $SUBLEVEL)
@@ -82,4 +82,4 @@
#error ""
#error " Please adjust the Makefile accordingly."
#error "======================================================="
-EOF
\ No newline at end of file
+EOF
--
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg
"Heedfulness: the path to the Deathless.
Heedlessness: the path to death.
The heedful do not die.
The heedless are as if already dead." -- Dhp. 21-24
--- make_versionh.sh.org Thu Nov 29 09:18:55 2001
+++ make_versionh.sh Sun Mar 10 03:51:50 2002
@@ -1,6 +1,6 @@
echo $PWD
read VERSION PATCHLEVEL SUBLEVEL <<EOF
-$(echo %{kheaders} |awk -F. '{print $1, " ", $2, " ", $3}')
+$(echo %{kheaders_ver} |awk -F. '{print $1, " ", $2, " ", $3}')
EOF
LINUX_VERSION_CODE=$(expr $VERSION \* 65536 + $PATCHLEVEL \* 256 + $SUBLEVEL)
@@ -82,4 +82,4 @@
#error ""
#error " Please adjust the Makefile accordingly."
#error "======================================================="
-EOF
\ No newline at end of file
+EOF