Skip to content

Commit

Permalink
update libs/build_nceplibs.sh to create nested directories with mkdir -p
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalie Perlin authored and Natalie Perlin committed Oct 12, 2023
1 parent df607ef commit 6205a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/build_nceplibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ if $MODULES; then
if [[ $OVERWRITE =~ [yYtT] ]]; then
echo "WARNING: $prefix EXISTS: OVERWRITING!"
$SUDO rm -rf $prefix
$SUDO mkdir $prefix
$SUDO mkdir -p $prefix
else
echo "WARNING: $prefix EXISTS, SKIPPING"
exit 0
Expand Down Expand Up @@ -304,7 +304,7 @@ if [[ ${name} == "prod_util" && "$(printf '%s\n' "$min_version" "$install_as"
done
if [ $? -eq 0 ]; then
chmod 755 ../ush/* && cp -r ../ush/* ../build/bin/.
[[ ! -d $prefix ]] && mkdir $prefix
[[ ! -d $prefix ]] && mkdir -p $prefix
mv ../build/bin $prefix/.
fi
[[ $USE_SUDO =~ [yYtT] ]] && sudo -- bash -c "export PATH=$PATH"
Expand Down

0 comments on commit 6205a3a

Please sign in to comment.