summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-16 17:40:32 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-16 17:40:32 -0800
commita5298e931b945c2494bfb3733ab4ed82904fcf28 (patch)
tree78a60368d2dc239dc2987abeb644acf885514acc
parentdd59d440c525143a7cc3069a96b517a25b1b2216 (diff)
downloadsgml-skel-a5298e931b945c2494bfb3733ab4ed82904fcf28.tar.gz
sgml-skel-a5298e931b945c2494bfb3733ab4ed82904fcf28.tar.bz2
sgml-skel-a5298e931b945c2494bfb3733ab4ed82904fcf28.zip
-rw-r--r--packaging/edit-xml-catalog.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/edit-xml-catalog.sh b/packaging/edit-xml-catalog.sh
index 38df58d..38ca715 100644
--- a/packaging/edit-xml-catalog.sh
+++ b/packaging/edit-xml-catalog.sh
@@ -77,8 +77,8 @@ s == 1 {print}
/<catalog/{s=1}
END{print "</catalog>"}'
} >$ROOTCATALOG.tmp
- if [ -x /bin/chmod ]; then
- /bin/chmod --reference=$ROOTCATALOG $ROOTCATALOG.tmp
+ if [ -x /usr/bin/chmod ]; then
+ /usr/bin/chmod --reference=$ROOTCATALOG $ROOTCATALOG.tmp
fi
$xmllint --nocatalogs --noout $ROOTCATALOG.tmp \
&& mv $ROOTCATALOG.tmp $ROOTCATALOG
@@ -105,8 +105,8 @@ s == 1 {next}
/<!-- pac_start: $pattern do not remove! -->/{s=1;next}
{print}" > $ROOTCATALOG.tmp
fi
- if [ -x /bin/chmod ]; then
- /bin/chmod --reference=$ROOTCATALOG $ROOTCATALOG.tmp
+ if [ -x /usr/bin/chmod ]; then
+ /usr/bin/chmod --reference=$ROOTCATALOG $ROOTCATALOG.tmp
fi
$xmllint --nocatalogs --noout $ROOTCATALOG.tmp \
&& mv $ROOTCATALOG.tmp $ROOTCATALOG