mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-02 09:59:57 +00:00
21 lines
452 B
Bash
Executable File
21 lines
452 B
Bash
Executable File
#!/bin/bash -vex
|
|
|
|
goanna_dir=/home/worker/goanna/source
|
|
gaia_dir=/home/worker/gaia/source
|
|
|
|
create_parent_dir() {
|
|
parent_dir=$(dirname $1)
|
|
if [ ! -d "$parent_dir" ]; then
|
|
mkdir -p "$parent_dir"
|
|
fi
|
|
}
|
|
|
|
# Ensure we always have the parent directory for goanna
|
|
create_parent_dir $goanna_dir
|
|
|
|
# Create .mozbuild so mach doesn't complain about this
|
|
mkdir -p /home/worker/.mozbuild/
|
|
|
|
# Create object-folder exists
|
|
mkdir -p /home/worker/object-folder/
|