Changeset 2233


Ignore:
Timestamp:
2005-10-22T14:35:22+02:00 (11 years ago)
Author:
nbd
Message:

update make-ipkg-dir.sh in whiterussian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/scripts/make-ipkg-dir.sh

    r2215 r2233  
    66ARCH=$4 
    77 
     8WD=$(pwd) 
     9 
    810mkdir -p "$TARGET/CONTROL" 
    911grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control" 
     
    1113        echo "Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>" >> "$TARGET/CONTROL/control" 
    1214grep '^Source' "$CONTROL" 2>&1 >/dev/null || { 
    13         pkgbase=$(pwd | sed -e "s|^$TOPDIR/||g") 
     15        pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g") 
    1416        [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase" 
    1517        echo "Source: $src" >> "$TARGET/CONTROL/control" 
Note: See TracChangeset for help on using the changeset viewer.