summaryrefslogtreecommitdiff
path: root/misc/localedata
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-06-18 22:20:19 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-06-18 22:20:19 +0000
commita096f3da4703dc61b6d24e2a28afa96f92c4bdbc (patch)
tree2fa11c5c10ddabfcfda0ab6140d38d514101556e /misc/localedata
parentLatest commit breaks build unconditionally, even if distfile exist in (diff)
- Fix wrong (but harmless) shebang lines.
- Don't use ${MKDIR} and ${LN} variables in pkg-install, since they aren't defined, and causes an error.
Notes
Notes: svn path=/head/; revision=165714
Diffstat (limited to 'misc/localedata')
-rw-r--r--misc/localedata/pkg-deinstall2
-rw-r--r--misc/localedata/pkg-install6
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/localedata/pkg-deinstall b/misc/localedata/pkg-deinstall
index ac9827fa14c4..5182491821fa 100644
--- a/misc/localedata/pkg-deinstall
+++ b/misc/localedata/pkg-deinstall
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
case "$2" in DEINSTALL) ;; *) exit;; esac
diff --git a/misc/localedata/pkg-install b/misc/localedata/pkg-install
index 331e8296bd96..df8b1f66f8c6 100644
--- a/misc/localedata/pkg-install
+++ b/misc/localedata/pkg-install
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
case "$2" in POST-INSTALL) ;; *) exit;; esac
@@ -6,7 +6,7 @@ TARGET_DIR=${PKG_PREFIX}/share/compat/locale
cd ${TARGET_DIR}
while read dir; do
- ${MKDIR} $dir
+ mkdir $dir
done << EOF
af_ZA.ISO8859-15
af_ZA.UTF-8
@@ -49,7 +49,7 @@ pt_PT.ISO8859-15
EOF
while read src dest; do
- ${LN} -s $src $dest
+ ln -s $src $dest
done << EOF
../UTF-8/LC_CTYPE af_ZA.UTF-8/LC_CTYPE
../UTF-8/LC_CTYPE be_BY.UTF-8/LC_CTYPE