author | kergoth <kergoth> | 2002-02-22 16:00:16 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-02-22 16:00:16 (UTC) |
commit | 8151e4416f5d39e03218d4c191da33aceedfcb5f (patch) (unidiff) | |
tree | 2a3146f90c79f3c79d54f1a77c467264f9c3ef99 | |
parent | 64422505d5eddd98958984481f4c1b3d761c8e12 (diff) | |
download | opie-8151e4416f5d39e03218d4c191da33aceedfcb5f.zip opie-8151e4416f5d39e03218d4c191da33aceedfcb5f.tar.gz opie-8151e4416f5d39e03218d4c191da33aceedfcb5f.tar.bz2 |
fixed tar command.
-rwxr-xr-x | mkipks | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -200,18 +200,18 @@ do | |||
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 --owner=root --group=root cfz ../control.tar.gz ./*; ) |
209 | ( cd $DATADIR; tar --owner root --group root cfz ../data.tar.gz ./*; ) | 209 | ( cd $DATADIR; tar --owner=root --group=root 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 |