diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-29 16:06:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-29 16:06:00 +0100 |
commit | 8e8512391c668fc7074f812f15eabe8f176fb01e (patch) | |
tree | f9f0862dd6eb962fe3fc4803180b431843f6c5be /scripts/make-ipkg-dir.sh | |
parent | c491653a1f9574a42965025805d472c3d145f699 (diff) | |
parent | ae3d4616ed9c19a29d656193254657f93d612fa2 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/make-ipkg-dir.sh')
-rw-r--r-- | scripts/make-ipkg-dir.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make-ipkg-dir.sh b/scripts/make-ipkg-dir.sh index 857076fb1..65eeb5621 100644 --- a/scripts/make-ipkg-dir.sh +++ b/scripts/make-ipkg-dir.sh @@ -1,4 +1,4 @@ -BASE=http://www.openadk.org +BASE=http://www.openadk.org/distfiles TARGET=$1 CONTROL=$2 VERSION=$3 @@ -14,7 +14,7 @@ grep '^Priority' "$CONTROL" 2>&1 >/dev/null || \ echo "Priority: optional" >> "$TARGET/CONTROL/control" grep '^Source' "$CONTROL" 2>&1 >/dev/null || { pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g") - [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase" + [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE" echo "Source: $src" >> "$TARGET/CONTROL/control" } echo "Version: $VERSION" >> "$TARGET/CONTROL/control" |