summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-19 14:45:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-19 14:45:47 +0100
commitbfd91ffcf5eafbc5a409c11702b8bbe54a6829fd (patch)
tree90ea9569835f4079674616ae864019e72207ea7e
parent2c645004825ebbb342097b7952ec422e453bfe98 (diff)
order seems relevant for older gnu tar
-rw-r--r--scripts/ipkg-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build
index 378236b78..ec0e0cdef 100644
--- a/scripts/ipkg-build
+++ b/scripts/ipkg-build
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/usr/bin/env bash
# ipkg-build -- construct a .ipk from a directory
# Carl Worth <cworth@east.isi.edu>
@@ -233,7 +233,7 @@ tmp_dir=$dest_dir/IPKG_BUILD.$$
mkdir $tmp_dir
echo $CONTROL > $tmp_dir/tarX
-( cd $pkg_dir && tar $ogargs -czf $tmp_dir/data.tar.gz . -X $tmp_dir/tarX )
+( cd $pkg_dir && tar $ogargs -X $tmp_dir/tarX -czf $tmp_dir/data.tar.gz . )
( cd $pkg_dir/$CONTROL && tar $ogargs -czf $tmp_dir/control.tar.gz . )
rm $tmp_dir/tarX