Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Outillage
prezbuilder
Commits
4031d832
Commit
4031d832
authored
Jun 30, 2020
by
Guillaume Perréal
Browse files
Utilise `` plutôt que $() dans bin/prezbuilder.
parent
6f85279b
Changes
1
Show whitespace changes
Inline
Side-by-side
bin/prezbuilder
View file @
4031d832
...
...
@@ -11,7 +11,7 @@ checkdir() {
echo
""
return
0
fi
local
DIR
=
"
$(
readlink
-f
$1
)
"
local
DIR
=
`
readlink
-f
$1
`
if
[[
!
-d
"
$DIR
"
]]
;
then
echo
"
$1
is not an existing directory"
>
&2
usage
...
...
@@ -28,8 +28,8 @@ case "$1" in
;;
esac
export
SRC
=
"
$(
checkdir
${
2
:-
src
}
)
"
export
OUTPUT
=
"
$(
checkdir
${
3
:-
public
}
)
"
export
SRC
=
`
checkdir
${
2
:-
src
}
`
export
OUTPUT
=
`
checkdir
${
3
:-
public
}
`
BASE
=
"
$(
dirname
$(
readlink
-f
$0
)
)
/..
"
BASE
=
`
dirname
$(
readlink
-f
$0
)
`
/..
exec
"
$BASE
/node_modules/.bin/gulp"
--cwd
"
$BASE
"
"
$COMMAND
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment