summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xscripts/mkPackages4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mkPackages b/scripts/mkPackages
index 5734f1c..06d2281 100755
--- a/scripts/mkPackages
+++ b/scripts/mkPackages
@@ -12,13 +12,15 @@ do
GOOD=
break
fi
done
if [ -n "$GOOD" ]
then
- tar xfOz $i ./control.tar.gz | tar xfOz - ./control
+# tar xfOz $i ./control.tar.gz | tar xfOz - ./control
+ # new version of ipkg uses ar instead of tar
+ ar pf $i control.tar.gz | tar xfOz - ./control
echo
else
echo >&2 "Skipped old file: $i ($other is newer)"
#mv $i old
fi
done >Packages