summaryrefslogtreecommitdiff
path: root/mkipks
Side-by-side diff
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
@@ -8,10 +8,10 @@ mkdir -p etc/rc2.d
rm -f etc/rc2.d/S98qpe
ln -s ../init.d/qpe etc/rc2.d/S98qpe
-VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$QPEDIR/include/qpe/version.h)
-VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$QPEDIR/include/qpe/version.h)
-VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$QPEDIR/include/qpe/version.h)
-if grep -q 'QPE_VERSION .*snapshot' $QPEDIR/include/qpe/version.h
+VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
+VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
+VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
+if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
then
VERSION_CVS="_$(date +%Y%m%d)"
else
@@ -47,9 +47,9 @@ do
DATADIR=$IMAGEDIR
mkdir -p $IMAGEDIR
;; -rpm)
- if [ "$QPEDIR" != "/opt/Qtopia" ]
+ if [ "$OPIEDIR" != "/opt/Qtopia" ]
then
- echo >&2 '$QPEDIR is not the standard /usr/Qtopia directory.'
+ echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.'
sleep 1
#exit 1
fi
@@ -70,11 +70,11 @@ done
if [ -z "$FILES" ]
then
- FILES=`find $QPEDIR -name "*.control" -print`
+ FILES=`find $OPIEDIR -name "*.control" -print`
fi
RDIR=$PWD
-cd $QPEDIR
+cd $OPIEDIR
for i in $FILES
do
@@ -140,7 +140,7 @@ do
then
case "$ff" in
/*) RPMFILES="$RPMFILES $ff"
- ;; *) RPMFILES="$RPMFILES $QPEDIR/$ff"
+ ;; *) RPMFILES="$RPMFILES $OPIEDIR/$ff"
esac
else
mkdir -p $D