summaryrefslogtreecommitdiff
path: root/cocoa/compile-xib.sh
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-05 22:28:51 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-15 13:44:34 +0100
commitd21447d096a320a08b3efb2b8768fad0dcdcfd64 (patch)
tree1a83814b7c9e94b2f13c473261f23dd3a17dee64 /cocoa/compile-xib.sh
parent2cbb337756d9af5bda4d594964d446439f602551 (diff)
downloadnetsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.gz
netsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.bz2
move frontends into sub directory
Diffstat (limited to 'cocoa/compile-xib.sh')
-rwxr-xr-xcocoa/compile-xib.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/cocoa/compile-xib.sh b/cocoa/compile-xib.sh
deleted file mode 100755
index 576f9bfd0..000000000
--- a/cocoa/compile-xib.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# call: compile-xib.sh [xib file] [language] [(optional output nib file)]
-DIR=`dirname "$1"`
-XIB=`basename -s .xib "$1"`
-
-STRINGS_FILE="$DIR/$2.lproj/$XIB.xib.strings"
-TRANSLATE=""
-if [ -f $STRINGS_FILE ]
-then
- TRANSLATE="--strings-file $STRINGS_FILE"
-fi
-
-OUTPUT="$2.$XIB.nib"
-
-if [ "x$3" != "x" ]
-then
- OUTPUT="$3"
-fi
-
-exec /usr/bin/ibtool $TRANSLATE --compile $OUTPUT $1