summaryrefslogtreecommitdiff
path: root/mkipks
authorkergoth <kergoth>2002-02-22 17:11:47 (UTC)
committer kergoth <kergoth>2002-02-22 17:11:47 (UTC)
commit30ff9056e2632ce4c3cd8b3d0fbf94dcd6b5dafb (patch) (unidiff)
treef9b7893562f8ded340353d7a489300472dbb5db8 /mkipks
parent8151e4416f5d39e03218d4c191da33aceedfcb5f (diff)
downloadopie-30ff9056e2632ce4c3cd8b3d0fbf94dcd6b5dafb.zip
opie-30ff9056e2632ce4c3cd8b3d0fbf94dcd6b5dafb.tar.gz
opie-30ff9056e2632ce4c3cd8b3d0fbf94dcd6b5dafb.tar.bz2
reverted tar cmd change for the moment.
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkipks b/mkipks
index 572c8f1..b355689 100755
--- a/mkipks
+++ b/mkipks
@@ -196,26 +196,26 @@ do
196 do 196 do
197 if [ -x ${base}.$pf ] 197 if [ -x ${base}.$pf ]
198 then 198 then
199 cp ${base}.$pf $CTRLDIR/$pf 199 cp ${base}.$pf $CTRLDIR/$pf
200 fi 200 fi
201 done 201 done
202 if [ "$UID" = 0 ] 202 if [ "$UID" = 0 ]
203 then 203 then
204 chown -R root.root $TDIR 204 chown -R root.root $TDIR
205 else 205 else
206 echo "Warning: You are not root. Unable to squash permissions." 206 echo "Warning: You are not root. Unable to squash permissions."
207 fi 207 fi
208 ( cd $CTRLDIR; tar --owner=root --group=root cfz ../control.tar.gz ./*; ) 208 ( cd $CTRLDIR; tar cfz ../control.tar.gz ./*; )
209 ( cd $DATADIR; tar --owner=root --group=root cfz ../data.tar.gz ./*; ) 209 ( cd $DATADIR; tar cfz ../data.tar.gz ./*; )
210 ( cd $TDIR; rm -rf control data; tar cf - ./debian-binary ./control.tar.gz ./data.tar.gz; ) | gzip >$RDIR/$package.ipk 210 ( cd $TDIR; rm -rf control data; tar cf - ./debian-binary ./control.tar.gz ./data.tar.gz; ) | gzip >$RDIR/$package.ipk
211 RESULT=$package.ipk 211 RESULT=$package.ipk
212 if [ -n "$VERB" ] 212 if [ -n "$VERB" ]
213 then 213 then
214 echo >&2 "Built $RESULT ($size)" 214 echo >&2 "Built $RESULT ($size)"
215 fi 215 fi
216 if [ -n "$LIST" ] 216 if [ -n "$LIST" ]
217 then 217 then
218 echo $RESULT 218 echo $RESULT
219 fi 219 fi
220 fi 220 fi
221 else 221 else