Skip to content

Commit 546d058

Browse files
committed
Quote shell variables
1 parent d6dad9c commit 546d058

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/auto-build-and-test-dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BUILD_DIR=${BUILD_DIR:='build_dir'}
77
cpan-install-build-deps
88
build-dist
99

10-
cd $BUILD_DIR
10+
cd "$BUILD_DIR"
1111

1212
cpan-install-dist-deps --with-develop
1313
test-dist

bin/build-dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ elif [[ -e Build.PL ]]; then
2525
# Module::Build does not support a build directory, so we have to find
2626
# the last created dir and use that.
2727
DIR="$(perl -MModule::Build -e'print Module::Build->resume->dist_dir;')"
28-
mv "$DIR" $BUILD_DIR
28+
mv "$DIR" "$BUILD_DIR"
2929
fi
3030

3131
exit 0

0 commit comments

Comments
 (0)