diff options
author | Koen Kooi <koen@openembedded.org> | 2008-06-15 07:41:45 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-06-15 07:41:45 +0000 |
commit | 899f1198e092fc151f4373c961d21d2f15e285f2 (patch) | |
tree | b0b62af6463942080d6ed80e7696931a730d27f6 | |
parent | 853b1bc69783c42dd0f5648ac9c65008c3063c5b (diff) |
stagemanager native: replace 'head -1' with 'head -n1'
-rwxr-xr-x | packages/stage-manager/files/stage-manager-ipkg | 10 | ||||
-rw-r--r-- | packages/stage-manager/stagemanager-native_0.0.1.bb | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/stage-manager/files/stage-manager-ipkg b/packages/stage-manager/files/stage-manager-ipkg index 7bcf85a5fa..2e626d8f50 100755 --- a/packages/stage-manager/files/stage-manager-ipkg +++ b/packages/stage-manager/files/stage-manager-ipkg @@ -33,7 +33,7 @@ ipkg_src_names() { ipkg_src_byname() { local src="$1" - ipkg_srcs $src | head -1 + ipkg_srcs $src | head -n1 } ipkg_dests() { @@ -58,16 +58,16 @@ ipkg_state_dirs() { } ipkg_dest_default() { - ipkg_dests_all | head -1 + ipkg_dests_all | head -n1 } ipkg_dest_default_name() { - ipkg_dest_names | head -1 + ipkg_dest_names | head -n1 } ipkg_dest_byname() { local dest="$1" - ipkg_dests $dest | head -1 + ipkg_dests $dest | head -n1 } ipkg_option() { @@ -975,7 +975,7 @@ ipkg_install_wanted() { ipkg_upgrade_pkg() { local pkg="$1" - local avail_ver=`ipkg_info $pkg Version | ipkg_extract_value | head -1` + local avail_ver=`ipkg_info $pkg Version | ipkg_extract_value | head -n1` is_installed= for dest_name in `ipkg_dest_names`; do diff --git a/packages/stage-manager/stagemanager-native_0.0.1.bb b/packages/stage-manager/stagemanager-native_0.0.1.bb index cfa14498e4..2a2712f030 100644 --- a/packages/stage-manager/stagemanager-native_0.0.1.bb +++ b/packages/stage-manager/stagemanager-native_0.0.1.bb @@ -1,5 +1,5 @@ DESCRIPTION = "Helper script for packaged-staging.bbclass" -PR = "r9" +PR = "r10" SRC_URI = "file://stage-manager \ file://stage-manager-ipkg \ |