Skip to content

Commit 62a425e

Browse files
committed
Fix readlink errors
1 parent c76c0ec commit 62a425e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

01-stage.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
BASE_DIR=$(readlink -f $0 | xargs dirname)
3+
BASE_DIR=$(readlink -f -- "$0" | xargs dirname)
44

55
if [ -d 'dockerfiles' ]; then
66
rm -rf dockerfiles;
@@ -17,4 +17,4 @@ echo "##### Staging RPM #####"
1717
cd dockerfiles/18.4.0 && curl --progress-bar -O file://$BASE_DIR/files/oracle-database-xe-18c-1.0-1.x86_64.rpm
1818

1919
cd $BASE_DIR
20-
echo "##### Done #####"
20+
echo "##### Done #####"

0 commit comments

Comments
 (0)