summaryrefslogtreecommitdiff
path: root/functions/stagefile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/stagefile.sh')
-rwxr-xr-xfunctions/stagefile.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/functions/stagefile.sh b/functions/stagefile.sh
index b4938cc..2606983 100755
--- a/functions/stagefile.sh
+++ b/functions/stagefile.sh
@@ -36,10 +36,7 @@ Create_stagefile ()
DIRECTORY="`dirname ${1}`"
# Creating stage directory
- if [ ! -d "${DIRECTORY}" ]
- then
- mkdir -p "${DIRECTORY}"
- fi
+ mkdir -p "${DIRECTORY}"
# Creating stage file
touch "${FILE}"