summaryrefslogtreecommitdiffhomepage
path: root/347.perl.vars
diff options
context:
space:
mode:
Diffstat (limited to '347.perl.vars')
-rw-r--r--347.perl.vars8
1 files changed, 4 insertions, 4 deletions
diff --git a/347.perl.vars b/347.perl.vars
index 23604795..853bef90 100644
--- a/347.perl.vars
+++ b/347.perl.vars
@@ -1,5 +1,5 @@
#
-# . ./build.vars and set -o errexit are assumed.
+# . ./build.vars and set -o errexit -o noglob are assumed.
#
pkg_perl_extract_post() {
@@ -8,12 +8,12 @@ pkg_perl_extract_post() {
-not -path perl-cross/.git/\* -not -name .gitignore); do
_ppep_fname_dst=perl-${PKG_VERSION}${_ppep_fname_src#perl-cross};
if [ -f ${_ppep_fname_dst} ]; then
- mv ${_ppep_fname_dst} ${_ppep_fname_dst}.orig;
+ mv -- ${_ppep_fname_dst} ${_ppep_fname_dst}.orig;
fi;
if [ ! -d "$(dirname ${_ppep_fname_dst})" ]; then
- mkdir -p $(dirname ${_ppep_fname_dst});
+ mkdir -p -- $(dirname ${_ppep_fname_dst});
fi;
- cp ${_ppep_fname_src} ${_ppep_fname_dst};
+ cp -- ${_ppep_fname_src} ${_ppep_fname_dst};
done;
for _ppep_cflag in ${PKG_CFLAGS_CONFIGURE}; do
PKG_CONFIGURE_ARGS="${PKG_CONFIGURE_ARGS:+${PKG_CONFIGURE_ARGS} }-A ccflags=${_ppep_cflag}";