summaryrefslogtreecommitdiff
path: root/mkipks
Unidiff
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks18
1 files changed, 9 insertions, 9 deletions
diff --git a/mkipks b/mkipks
index 947b19e..45f2fb2 100755
--- a/mkipks
+++ b/mkipks
@@ -10,6 +10,6 @@ ln -s ../init.d/qpe etc/rc2.d/S98qpe
10 10
11VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$QPEDIR/include/qpe/version.h) 11VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
12VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$QPEDIR/include/qpe/version.h) 12VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
13VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$QPEDIR/include/qpe/version.h) 13VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
14if grep -q 'QPE_VERSION .*snapshot' $QPEDIR/include/qpe/version.h 14if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
15then 15then
@@ -49,5 +49,5 @@ do
49 ;; -rpm) 49 ;; -rpm)
50 if [ "$QPEDIR" != "/opt/Qtopia" ] 50 if [ "$OPIEDIR" != "/opt/Qtopia" ]
51 then 51 then
52 echo >&2 '$QPEDIR is not the standard /usr/Qtopia directory.' 52 echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.'
53 sleep 1 53 sleep 1
@@ -72,3 +72,3 @@ if [ -z "$FILES" ]
72then 72then
73 FILES=`find $QPEDIR -name "*.control" -print` 73 FILES=`find $OPIEDIR -name "*.control" -print`
74fi 74fi
@@ -76,3 +76,3 @@ fi
76RDIR=$PWD 76RDIR=$PWD
77cd $QPEDIR 77cd $OPIEDIR
78 78
@@ -142,3 +142,3 @@ do
142 /*) RPMFILES="$RPMFILES $ff" 142 /*) RPMFILES="$RPMFILES $ff"
143 ;; *) RPMFILES="$RPMFILES $QPEDIR/$ff" 143 ;; *) RPMFILES="$RPMFILES $OPIEDIR/$ff"
144 esac 144 esac